|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.chars.AbstractCharCollection
it.unimi.dsi.fastutil.chars.AbstractCharSet
it.unimi.dsi.fastutil.chars.AbstractCharSortedSet
public abstract class AbstractCharSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Method Summary | |
---|---|
CharBidirectionalIterator |
charIterator()
Deprecated. |
Character |
first()
Delegates to the corresponding type-specific method. |
CharSortedSet |
headSet(Character to)
Delegates to the corresponding type-specific method. |
abstract CharBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection. |
Character |
last()
Delegates to the corresponding type-specific method. |
CharSortedSet |
subSet(Character from,
Character to)
Delegates to the corresponding type-specific method. |
CharSortedSet |
tailSet(Character from)
Delegates to the corresponding type-specific method. |
Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharSet |
---|
equals, hashCode, rem, remove, remove |
Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharCollection |
---|
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toCharArray, toCharArray, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharSortedSet |
---|
comparator, firstChar, headSet, iterator, lastChar, subSet, tailSet |
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharSet |
---|
remove |
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharCollection |
---|
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toCharArray, toCharArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
public CharSortedSet headSet(Character to)
headSet
in interface CharSortedSet
headSet
in interface SortedSet<Character>
SortedSet.headSet(Object)
public CharSortedSet tailSet(Character from)
tailSet
in interface CharSortedSet
tailSet
in interface SortedSet<Character>
SortedSet.tailSet(Object)
public CharSortedSet subSet(Character from, Character to)
subSet
in interface CharSortedSet
subSet
in interface SortedSet<Character>
SortedSet.subSet(Object,Object)
public Character first()
first
in interface SortedSet<Character>
public Character last()
last
in interface SortedSet<Character>
@Deprecated public CharBidirectionalIterator charIterator()
charIterator
in interface CharCollection
charIterator
in interface CharSortedSet
charIterator
in class AbstractCharCollection
CharCollection.iterator()
public abstract CharBidirectionalIterator iterator()
CharCollection
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
.
iterator
in interface CharCollection
iterator
in interface CharIterable
iterator
in interface CharSet
iterator
in interface CharSortedSet
iterator
in interface Iterable<Character>
iterator
in interface Collection<Character>
iterator
in interface Set<Character>
iterator
in class AbstractCharSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |