- All Known Subinterfaces:
- BoardElement
- All Known Implementing Classes:
- Edge, Node, Parcel, Truck
public interface UserData
Classes that implement the UserData interface
allow the user to store data in them. The data is of type Object,
so it can be of any type the user gives. (As long as they remember
what that type was to cast later).
Thread-safety is up to the user, so no locking should be implemented for
the UserData methods.
With very rare exceptions, UserData methods are not used internally.
- Author:
- MPatashnik