public interface Identifier extends Serializable, Immutable
Implementations are expected to implement hashCode()
and equals(Object)
methods in a way,
which ensures that objects before and after serialization are considered equal.
Implementations are advised to use the Externalizable
Proxy pattern to allow future evolution
of their serialization format. For further efficiency, implementations should consider implementing
WritableObject
, so they can be efficiently embedded in other Serializable
and WritableObject
s
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
Copyright © 2020 OpenDaylight. All rights reserved.