
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()
Iterpublic void advance()
Iterpublic boolean tiedToPrevious()
ROC.ScoreItertiedToPrevious in interface ROC.ScoreIterpublic int internalGetIndex()
DBIDRefinternalGetIndex in interface DBIDRef@Deprecated public int hashCode()
DBIDRefDBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef) to get an object with a stable hash code!@Deprecated public boolean equals(Object obj)
DBIDRefDBIDUtil.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)!