Interface IToken<T>
- All Known Implementing Classes:
StandardToken
public interface IToken<T>
Interface used to represent a request outside of the request management system.
Allows for simple storage of all open requests of a building, a worker etc, without having to store the whole request twice.
Also extends INBTSerializable to make writing the data to disk a lot easier.
-
Method Summary
-
Method Details
-
getIdentifier
T getIdentifier()The identifier used to represent a request.- Returns:
- The identifier of the request that this token represents.
-