public static class ROC.SimpleAdapter extends Object implements ROC.ScoreIter, DBIDRef
Modifier and Type | Field and Description |
---|---|
private DBIDIter |
iter
Original Iterator
|
Constructor and Description |
---|
ROC.SimpleAdapter(DBIDIter iter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
boolean |
equals(Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
int |
internalGetIndex()
Get the internal index.
|
boolean |
tiedToPrevious()
Test whether the score is the same as the previous objects score.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
private DBIDIter iter
public ROC.SimpleAdapter(DBIDIter iter)
iter
- Iterator for object IDspublic boolean valid()
Iter
public void advance()
Iter
public boolean tiedToPrevious()
ROC.ScoreIter
tiedToPrevious
in interface ROC.ScoreIter
public int internalGetIndex()
DBIDRef
internalGetIndex
in interface DBIDRef
@Deprecated public int hashCode()
DBIDRef
DBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
to get an object with a stable hash code!@Deprecated public boolean equals(Object obj)
DBIDRef
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)
!