public interface DBIDRef
Modifier and Type | Method and Description |
---|---|
int |
compareDBID(DBIDRef other)
Compare two objects by the value of the referenced DBID.
|
boolean |
equals(Object obj)
Deprecated.
|
DBID |
getDBID()
Get the referenced
DBID . |
int |
getIntegerID()
Return the integer value of the object ID, if possible.
|
int |
hashCode()
Deprecated.
Do not use this hash code. Some implementations will not offer
stable hash codes!
|
boolean |
sameDBID(DBIDRef other)
Compare the current value of two referenced DBIDs.
|
DBID getDBID()
DBID
.
Efficiency note: this may require materialization of a DBID object.int getIntegerID()
@Deprecated int hashCode()
@Deprecated boolean equals(Object obj)
boolean sameDBID(DBIDRef other)
other
- Other DBID reference (or DBID)true
when the references currently refer to the same.int compareDBID(DBIDRef other)
other
- Other DBID or object