public final class DataObjectIdentity extends Object
DataObjectIdentity
describes identify of DataObject
instance.
A list of DataObject
contained in a DataObject
may be
reorderd by the MD-SAL. So Object.equals(Object)
and
Object.hashCode()
cannot be used to compare DataObject
instances.
DataObject
instances has no
duplicate.
Constructor and Description |
---|
DataObjectIdentity(org.opendaylight.yangtools.yang.binding.DataObject data)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
int |
hashCode()
Return the hash code of this object.
|
public DataObjectIdentity(org.opendaylight.yangtools.yang.binding.DataObject data)
data
- A DataObject
instance.IllegalStateException
- Unexpected data object is passed.public boolean equals(Object o)
Copyright © 2018 OpenDaylight. All rights reserved.