public abstract class AbstractCharSortedSet extends AbstractCharSet implements CharSortedSet
Modifier and Type | Method and Description |
---|---|
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.
|
equals, hashCode, rem, remove, remove
add, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toCharArray, toCharArray, toString
clear, size
comparator, firstChar, headSet, iterator, lastChar, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toCharArray, toCharArray
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()
public Character last()
@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