it.unimi.dsi.fastutil.objects
Class AbstractReferenceSortedSet<K>
java.lang.Object
it.unimi.dsi.fastutil.objects.AbstractReferenceCollection<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceSet<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceSortedSet<K>
- All Implemented Interfaces:
- ObjectIterable<K>, ReferenceCollection<K>, ReferenceSet<K>, ReferenceSortedSet<K>, Cloneable, Iterable<K>, Collection<K>, Set<K>, SortedSet<K>
- Direct Known Subclasses:
- ReferenceLinkedOpenHashSet
public abstract class AbstractReferenceSortedSet<K>
- extends AbstractReferenceSet<K>
- implements ReferenceSortedSet<K>
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
objectIterator
@Deprecated
public ObjectBidirectionalIterator<K> objectIterator()
- Deprecated.
- Delegates to the new covariantly stronger generic method.
- Specified by:
objectIterator
in interface ReferenceCollection<K>
- Specified by:
objectIterator
in interface ReferenceSortedSet<K>
- Overrides:
objectIterator
in class AbstractReferenceCollection<K>
- See Also:
ReferenceCollection.iterator()
iterator
public abstract ObjectBidirectionalIterator<K> iterator()
- Description copied from interface:
ObjectIterable
- Returns a type-specific iterator.
Note that this specification strengthens the one given in
Iterable.iterator()
.
- Specified by:
iterator
in interface ObjectIterable<K>
- Specified by:
iterator
in interface ReferenceCollection<K>
- Specified by:
iterator
in interface ReferenceSet<K>
- Specified by:
iterator
in interface ReferenceSortedSet<K>
- Specified by:
iterator
in interface Iterable<K>
- Specified by:
iterator
in interface Collection<K>
- Specified by:
iterator
in interface Set<K>
- Specified by:
iterator
in class AbstractReferenceSet<K>
- Returns:
- a type-specific iterator.