public interface DBIDRef
DBID
. Could be a DBID
, a
DBIDIter
, for example.
Important note: do not assume this reference to be stable. Iterators are a good example how the DBIDRef may change.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
Do not use this hash code. Some implementations will not offer
stable hash codes!
|
int |
internalGetIndex()
Internal only: Get the internal index.
|
int internalGetIndex()
NOT FOR PUBLIC USE - ELKI Optimization engine only.
@Deprecated int hashCode()
Use DBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
to get an object with a stable hash code!
hashCode
in class java.lang.Object
@Deprecated boolean equals(java.lang.Object obj)
DBIDUtil.equal(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
instead.
Use DBIDUtil.equal(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
or DBIDUtil.compare(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
!
equals
in class java.lang.Object
obj
- Object to compare withCopyright © 2019 ELKI Development Team. License information.