de.lmu.ifi.dbs.elki.database.ids
Interface DBID

All Superinterfaces:
ArrayDBIDs, ArrayStaticDBIDs, Collection<DBID>, Comparable<DBID>, DBIDs, Iterable<DBID>, List<DBID>, StaticDBIDs
All Known Implementing Classes:
IntegerDBID

public interface DBID
extends Comparable<DBID>, ArrayStaticDBIDs

Database ID object. While this currently is just an Integer, it should be avoided to store the object IDs in regular integers to reduce problems if this API ever changes (for example if someone needs to do context tracking for debug purposes!) In particular, a developer should not make any assumption of these IDs being consistent across multiple results/databases.


Method Summary
 int getIntegerID()
          Return the integer value of the object ID, if possible.
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface de.lmu.ifi.dbs.elki.database.ids.DBIDs
asCollection, contains, isEmpty, iterator, size
 

Method Detail

getIntegerID

int getIntegerID()
Return the integer value of the object ID, if possible.

Returns:
integer id

Release 0.4.0 (2011-09-20_1324)