public class SimpleAdapter extends Object implements ScoreEvaluation.ScoreIter, DBIDRefIter
Modifier and Type | Field and Description |
---|---|
private DBIDIter |
iter
Original Iterator
|
Constructor and Description |
---|
SimpleAdapter(DBIDIter iter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
SimpleAdapter |
advance()
Moves the iterator forward to the next entry.
|
boolean |
equals(Object obj)
Deprecated.
|
DBIDRef |
getRef()
Get the current DBIDRef.
|
int |
hashCode()
Deprecated.
|
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 SimpleAdapter(DBIDIter iter)
iter
- Iterator for object IDspublic boolean valid()
Iter
public SimpleAdapter advance()
Iter
public boolean tiedToPrevious()
ScoreEvaluation.ScoreIter
tiedToPrevious
in interface ScoreEvaluation.ScoreIter
@Deprecated public int hashCode()
@Deprecated public boolean equals(Object obj)
public DBIDRef getRef()
DBIDRefIter
getRef
in interface DBIDRefIter
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.