|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.evaluation.paircounting.generator.PairSortedGenerator
public abstract class PairSortedGenerator

Implement the common functionality of caching the current result in a base class.
| Field Summary | |
|---|---|
private IntIntPair |
cur
Current pair |
| Constructor Summary | |
|---|---|
PairSortedGenerator()
|
|
| Method Summary | |
|---|---|
protected abstract IntIntPair |
advance()
Main advance method. |
IntIntPair |
current()
Return current pair. |
IntIntPair |
next()
Return next pair. |
protected void |
setCurrent(IntIntPair cur)
Set the current pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IntIntPair cur
| Constructor Detail |
|---|
public PairSortedGenerator()
| Method Detail |
|---|
protected final void setCurrent(IntIntPair cur)
cur - new current pair.public final IntIntPair current()
current in interface PairSortedGeneratorInterfacepublic final IntIntPair next()
next in interface PairSortedGeneratorInterfaceprotected abstract IntIntPair advance()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||