it.unimi.dsi.fastutil.objects
Class AbstractReferenceSortedSet

java.lang.Object
  extended byit.unimi.dsi.fastutil.objects.AbstractReferenceCollection
      extended byit.unimi.dsi.fastutil.objects.AbstractReferenceSet
          extended byit.unimi.dsi.fastutil.objects.AbstractReferenceSortedSet
All Implemented Interfaces:
Cloneable, Collection, ReferenceCollection, ReferenceSet, ReferenceSortedSet, Set, SortedSet
Direct Known Subclasses:
ReferenceLinkedOpenHashSet

public abstract class AbstractReferenceSortedSet
extends AbstractReferenceSet
implements ReferenceSortedSet

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.objects.AbstractReferenceSet
equals, hashCode, iterator, rem, remove
 
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceCollection
add, addAll, clear, containsAll, isEmpty, iterator, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceSortedSet
iterator
 
Methods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceSet
remove
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceCollection
objectIterator
 
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