|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbaobab.util.CompressibleSortedSet<T>
baobab.util.FreezableCompressibleSortedSet<T>
public class FreezableCompressibleSortedSet<T>
The FreezableCompressibleSortedSet class represents a compressible set of codable elements The intern organization of this set allows partial and global freezing of its data.
Field Summary |
---|
Constructor Summary | |
---|---|
FreezableCompressibleSortedSet(Coder<T> coder,
boolean ascendingFreezing)
|
|
FreezableCompressibleSortedSet(Coder<T> coder,
boolean ascendingFreezing,
int x,
int y,
int z)
|
|
FreezableCompressibleSortedSet(java.util.Comparator<T> comparator,
Coder<T> coder,
boolean ascendingFreezing)
|
|
FreezableCompressibleSortedSet(java.util.Comparator<T> comparator,
Coder<T> coder,
boolean ascendingFreezing,
int x,
int y,
int z)
|
Method Summary | |
---|---|
void |
clear(boolean bk)
Removes all elements in this set |
java.util.Iterator<T> |
descendingIterator()
Gets a descending iterator of this set. |
T |
firstElement()
Gets the first element in this set |
long |
freeze()
|
long |
freeze(boolean release)
|
long |
freezeAfterElement(T minToFreeze)
|
long |
freezeAfterElement(T minToFreeze,
boolean release)
|
long |
freezeUntilElement(T afterMaxToFreeze)
|
long |
freezeUntilElement(T afterMaxToFreeze,
boolean release)
|
boolean |
hasRestored()
|
java.util.Iterator<T> |
iterator()
Gets a ascending iterator of this set. |
T |
lastElement()
Gets the last element in this set |
T |
removeFirstFrozen()
|
T |
removeLastFrozen()
|
void |
restore()
|
void |
restoreNext(int blocksToRestore,
boolean compress)
|
java.lang.String |
toString()
|
void |
unfreeze()
|
Methods inherited from class baobab.util.CompressibleSortedSet |
---|
addElement, clear, flushLastDecompressionResult, isEmpty, isResolved, notResolvedSize, removeElement, resolve, resolvedSize, searchElement |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FreezableCompressibleSortedSet(Coder<T> coder, boolean ascendingFreezing, int x, int y, int z)
public FreezableCompressibleSortedSet(Coder<T> coder, boolean ascendingFreezing)
public FreezableCompressibleSortedSet(java.util.Comparator<T> comparator, Coder<T> coder, boolean ascendingFreezing)
public FreezableCompressibleSortedSet(java.util.Comparator<T> comparator, Coder<T> coder, boolean ascendingFreezing, int x, int y, int z)
Method Detail |
---|
public java.util.Iterator<T> iterator()
CompressibleSortedSet
iterator
in class CompressibleSortedSet<T>
public java.util.Iterator<T> descendingIterator()
CompressibleSortedSet
descendingIterator
in class CompressibleSortedSet<T>
public T removeFirstFrozen()
public T removeLastFrozen()
public T firstElement()
firstElement
in class CompressibleSortedSet<T>
public T lastElement()
lastElement
in class CompressibleSortedSet<T>
public long freezeUntilElement(T afterMaxToFreeze)
public long freezeUntilElement(T afterMaxToFreeze, boolean release)
public long freezeAfterElement(T minToFreeze)
public long freezeAfterElement(T minToFreeze, boolean release)
public long freeze()
public long freeze(boolean release)
public void unfreeze()
public void clear(boolean bk)
clear
in class CompressibleSortedSet<T>
public void restore()
public void restoreNext(int blocksToRestore, boolean compress)
public boolean hasRestored()
public java.lang.String toString()
toString
in class CompressibleSortedSet<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |