Package it.unimi.dsi.fastutil.chars
Class AbstractCharSortedSet
java.lang.Object
java.util.AbstractCollection<Character>
it.unimi.dsi.fastutil.chars.AbstractCharCollection
it.unimi.dsi.fastutil.chars.AbstractCharSet
it.unimi.dsi.fastutil.chars.AbstractCharSortedSet
- All Implemented Interfaces:
CharBidirectionalIterable
,CharCollection
,CharIterable
,CharSet
,CharSortedSet
,Cloneable
,Iterable<Character>
,Collection<Character>
,Set<Character>
,SortedSet<Character>
- Direct Known Subclasses:
CharAVLTreeSet
,CharLinkedOpenCustomHashSet
,CharLinkedOpenHashSet
,CharRBTreeSet
public abstract class AbstractCharSortedSet extends AbstractCharSet implements CharSortedSet
An abstract class providing basic methods for sorted sets implementing a
type-specific interface.
-
Method Summary
Modifier and Type Method Description abstract CharBidirectionalIterator
iterator()
Returns a type-specific iterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharSet
equals, hashCode, rem, remove
Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toCharArray, toCharArray, toString
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toCharArray, toCharArray
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharSet
add, contains, rem, remove, remove
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharSortedSet
comparator, first, firstChar, headSet, headSet, iterator, last, lastChar, subSet, subSet, tailSet, tailSet
-
Method Details
-
iterator
Description copied from interface:CharCollection
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 extendsCollection
.- Specified by:
iterator
in interfaceCharBidirectionalIterable
- Specified by:
iterator
in interfaceCharCollection
- Specified by:
iterator
in interfaceCharIterable
- Specified by:
iterator
in interfaceCharSet
- Specified by:
iterator
in interfaceCharSortedSet
- Specified by:
iterator
in interfaceCollection<Character>
- Specified by:
iterator
in interfaceIterable<Character>
- Specified by:
iterator
in interfaceSet<Character>
- Specified by:
iterator
in classAbstractCharSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-