
public interface ArrayDBIDs extends DBIDs
| Modifier and Type | Method and Description | 
|---|---|
void | 
assignVar(int index,
         DBIDVar var)
Assign a DBID variable the value of position  
index. | 
int | 
binarySearch(DBIDRef key)
Search for the position of the given key, assuming that the data set is
 sorted. 
 | 
DBID | 
get(int i)
Get the i'th entry (starting at 0)
 
 If possible, use an  
DBIDArrayIter via iter() instead! | 
DBIDArrayIter | 
iter()
Iterable 
 | 
int | 
size()
Size of the DBID "collection". 
 | 
DBID get(int i)
DBIDArrayIter via iter() instead!i - Indexvoid assignVar(int index,
             DBIDVar var)
index.index - Positionvar - Variable to assign the value to.DBIDArrayIter iter()
int binarySearch(DBIDRef key)
-(1+insertion position) is returned, as
 for Java Collections.binarySearch(java.util.List<? extends java.lang.Comparable<? super T>>, T)key - Key to search for