T
- public abstract class MergeSequence<T> extends Object implements SequenceWithClose<T>
Constructor and Description |
---|
MergeSequence(int size) |
Modifier and Type | Method and Description |
---|---|
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.
|
public void add(SequenceWithClose<T> list)
public T next()
Sequence
public void close()
SequenceWithClose
close
in interface AutoCloseable
close
in interface SequenceWithClose<T>
Copyright © 2016 Egothor. All Rights Reserved.