|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.util.MergeSequence<T>
public abstract class MergeSequence<T>
Constructor Summary | |
---|---|
MergeSequence(int size)
|
Method Summary | |
---|---|
void |
add(SequenceWithClose<T> list)
The sequence mustn't be empty. |
void |
close()
Invalidates this sequence, releases all resources etc. |
abstract boolean |
lessThan(T a,
T b)
|
T |
next()
Return the next item in the iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MergeSequence(int size)
Method Detail |
---|
public void add(SequenceWithClose<T> list)
public abstract boolean lessThan(T a, T b)
public T next()
Sequence
next
in interface Sequence<T>
public void close()
SequenceWithClose
close
in interface SequenceWithClose<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |