- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- AbstractComparableDeviceUID, DeviceUUID, IntegerUID, LongUID, StringUID
public interface DeviceUID
extends java.io.Serializable
The DeviceUID class can be implemented however is appropriate for a given system.
What is important is just that no two devices should ever have the same UID.
If two devices do have the same UID, then the behavior of Protelis is undefined.
UIDs are often useful as tiebreakers, and many library functions use the
DeviceUID in this manner. It is thus strongly RECOMMENDED that DeviceUID
implementations also implement Comparable.