it.unimi.dsi.fastutil.objects
Class AbstractObjectSortedSet<K>
java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
it.unimi.dsi.fastutil.objects.AbstractObjectSet<K>
it.unimi.dsi.fastutil.objects.AbstractObjectSortedSet<K>
- All Implemented Interfaces:
- ObjectCollection<K>, ObjectIterable<K>, ObjectSet<K>, ObjectSortedSet<K>, Cloneable, Iterable<K>, Collection<K>, Set<K>, SortedSet<K>
- Direct Known Subclasses:
- AbstractObject2BooleanSortedMap.KeySet, AbstractObject2ByteSortedMap.KeySet, AbstractObject2CharSortedMap.KeySet, AbstractObject2DoubleSortedMap.KeySet, AbstractObject2FloatSortedMap.KeySet, AbstractObject2IntSortedMap.KeySet, AbstractObject2LongSortedMap.KeySet, AbstractObject2ObjectSortedMap.KeySet, AbstractObject2ReferenceSortedMap.KeySet, AbstractObject2ShortSortedMap.KeySet, ObjectAVLTreeSet, ObjectLinkedOpenCustomHashSet, ObjectLinkedOpenHashSet, ObjectRBTreeSet
public abstract class AbstractObjectSortedSet<K>
- extends AbstractObjectSet<K>
- implements ObjectSortedSet<K>
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectSet |
remove |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
AbstractObjectSortedSet
protected AbstractObjectSortedSet()
objectIterator
@Deprecated
public ObjectBidirectionalIterator<K> objectIterator()
- Deprecated.
- Delegates to the new covariantly stronger generic method.
- Specified by:
objectIterator
in interface ObjectCollection<K>
- Specified by:
objectIterator
in interface ObjectSortedSet<K>
- Overrides:
objectIterator
in class AbstractObjectCollection<K>
- See Also:
ObjectCollection.iterator()
iterator
public abstract ObjectBidirectionalIterator<K> iterator()
- Description copied from interface:
ObjectCollection
- Returns a type-specific iterator on the elements of this collection.
Note that this specification strengthens the one given in
Iterable.iterator()
, which was already
strengthened in the corresponding type-specific class,
but was weakened by the fact that this interface extends Collection
.
- Specified by:
iterator
in interface ObjectCollection<K>
- Specified by:
iterator
in interface ObjectIterable<K>
- Specified by:
iterator
in interface ObjectSet<K>
- Specified by:
iterator
in interface ObjectSortedSet<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 AbstractObjectSet<K>
- Returns:
- a type-specific iterator on the elements of this collection.
Copyright © 2011. All Rights Reserved.