it.unimi.dsi.fastutil.shorts
Class AbstractShortSortedSet

java.lang.Object
  extended byit.unimi.dsi.fastutil.shorts.AbstractShortCollection
      extended byit.unimi.dsi.fastutil.shorts.AbstractShortSet
          extended byit.unimi.dsi.fastutil.shorts.AbstractShortSortedSet
All Implemented Interfaces:
Cloneable, Collection, Set, ShortCollection, ShortSet, ShortSortedSet, SortedSet
Direct Known Subclasses:
ShortAVLTreeSet, ShortLinkedOpenHashSet, ShortRBTreeSet

public abstract class AbstractShortSortedSet
extends AbstractShortSet
implements ShortSortedSet

An abstract class providing basic methods for sorted sets implementing a type-specific interface.


Method Summary
 Object first()
          Delegates to the corresponding type-specific method.
 SortedSet headSet(Object to)
          Delegates to the corresponding type-specific method.
 Object last()
          Delegates to the corresponding type-specific method.
 SortedSet subSet(Object from, Object to)
          Delegates to the corresponding type-specific method.
 SortedSet tailSet(Object from)
          Delegates to the corresponding type-specific method.
 
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortSet
equals, hashCode, iterator, rem, remove, remove
 
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortCollection
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, iterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toShortArray, toShortArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSortedSet
firstShort, headSet, iterator, lastShort, subSet, tailSet
 
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSet
remove
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection
add, addAll, contains, containsAll, rem, removeAll, retainAll, shortIterator, toArray, toShortArray, toShortArray
 
Methods inherited from interface java.util.SortedSet
comparator
 

Method Detail

headSet

public SortedSet headSet(Object to)
Delegates to the corresponding type-specific method.

Specified by:
headSet in interface SortedSet

tailSet

public SortedSet tailSet(Object from)
Delegates to the corresponding type-specific method.

Specified by:
tailSet in interface SortedSet

subSet

public SortedSet subSet(Object from,
                        Object to)
Delegates to the corresponding type-specific method.

Specified by:
subSet in interface SortedSet

first

public Object first()
Delegates to the corresponding type-specific method.

Specified by:
first in interface SortedSet

last

public Object last()
Delegates to the corresponding type-specific method.

Specified by:
last in interface SortedSet