net.ajaest.lib.data
Class CollectionsExtra.BufferedSortedSet<E>

java.lang.Object
  extended by net.ajaest.lib.data.CollectionsExtra.BufferedHashCodeSet<E>
      extended by net.ajaest.lib.data.CollectionsExtra.BufferedSortedSet<E>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>, java.util.SortedSet<E>
Direct Known Subclasses:
CollectionsExtra.BufferedHashCodeNavigableSet
Enclosing class:
CollectionsExtra

private static class CollectionsExtra.BufferedSortedSet<E>
extends CollectionsExtra.BufferedHashCodeSet<E>
implements java.util.SortedSet<E>


Field Summary
private  java.util.SortedSet<E> original
           
private  CollectionsExtra.BufferedSortedSet<E> thisRef
           
 
Fields inherited from class net.ajaest.lib.data.CollectionsExtra.BufferedHashCodeSet
hashCode, hashCodeRanPolicies, modified, modifyPolicies
 
Constructor Summary
CollectionsExtra.BufferedSortedSet(java.util.SortedSet<E> original)
           
 
Method Summary
 java.util.Comparator<? super E> comparator()
           
 E first()
           
 java.util.SortedSet<E> headSet(E toElement)
           
 E last()
           
 java.util.SortedSet<E> subSet(E fromElement, E toElement)
           
 java.util.SortedSet<E> tailSet(E fromElement)
           
 
Methods inherited from class net.ajaest.lib.data.CollectionsExtra.BufferedHashCodeSet
add, addAll, addHashCodeRanPolicy, addModifiedPolicy, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, removeHashCodeRanPolicy, removeModifiedPolicy, retainAll, size, toArray, toArray, triggerHashCodeRun, triggerModified
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

original

private java.util.SortedSet<E> original

thisRef

private CollectionsExtra.BufferedSortedSet<E> thisRef
Constructor Detail

CollectionsExtra.BufferedSortedSet

public CollectionsExtra.BufferedSortedSet(java.util.SortedSet<E> original)
Method Detail

comparator

public java.util.Comparator<? super E> comparator()
Specified by:
comparator in interface java.util.SortedSet<E>

first

public E first()
Specified by:
first in interface java.util.SortedSet<E>

headSet

public java.util.SortedSet<E> headSet(E toElement)
Specified by:
headSet in interface java.util.SortedSet<E>

last

public E last()
Specified by:
last in interface java.util.SortedSet<E>

subSet

public java.util.SortedSet<E> subSet(E fromElement,
                                     E toElement)
Specified by:
subSet in interface java.util.SortedSet<E>

tailSet

public java.util.SortedSet<E> tailSet(E fromElement)
Specified by:
tailSet in interface java.util.SortedSet<E>