public static class CharSortedSets.UnmodifiableSortedSet extends CharSets.UnmodifiableSet implements CharSortedSet, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.chars.CharCollection |
collection |
protected CharSortedSet |
sortedSet |
| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableSortedSet(CharSortedSet s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(char arg0) |
boolean |
add(java.lang.Character arg0)
Deprecated.
|
boolean |
addAll(it.unimi.dsi.fastutil.chars.CharCollection arg0) |
boolean |
addAll(java.util.Collection<? extends java.lang.Character> arg0) |
void |
clear() |
it.unimi.dsi.fastutil.chars.CharComparator |
comparator() |
boolean |
contains(char arg0) |
boolean |
contains(java.lang.Object arg0)
Deprecated.
|
boolean |
containsAll(it.unimi.dsi.fastutil.chars.CharCollection arg0) |
boolean |
containsAll(java.util.Collection<?> arg0) |
java.lang.Character |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
firstChar()
Returns the first (lowest) element currently in this set.
|
void |
forEach(it.unimi.dsi.fastutil.chars.CharConsumer arg0) |
CharSortedSet |
headSet(char to)
Returns a view of the portion of this sorted set whose elements are strictly less than
toElement. |
CharSortedSet |
headSet(java.lang.Character to)
Deprecated.
Please use the corresponding type-specific method instead.
|
it.unimi.dsi.fastutil.ints.IntIterator |
intIterator() |
java.util.stream.IntStream |
intParallelStream() |
it.unimi.dsi.fastutil.ints.IntSpliterator |
intSpliterator() |
java.util.stream.IntStream |
intStream() |
boolean |
isEmpty() |
it.unimi.dsi.fastutil.chars.CharBidirectionalIterator |
iterator()
Returns a type-specific
BidirectionalIterator on the elements in
this set. |
it.unimi.dsi.fastutil.chars.CharBidirectionalIterator |
iterator(char from)
Returns a type-specific
BidirectionalIterator on the elements in
this set, starting from a given element of the domain (optional operation). |
java.lang.Character |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
lastChar()
Returns the last (highest) element currently in this set.
|
java.util.stream.Stream<java.lang.Character> |
parallelStream()
Deprecated.
|
boolean |
remove(java.lang.Object arg0)
Deprecated.
|
boolean |
removeAll(it.unimi.dsi.fastutil.chars.CharCollection arg0) |
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
removeIf(it.unimi.dsi.fastutil.chars.CharPredicate arg0) |
boolean |
retainAll(it.unimi.dsi.fastutil.chars.CharCollection arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
int |
size() |
it.unimi.dsi.fastutil.chars.CharSpliterator |
spliterator() |
java.util.stream.Stream<java.lang.Character> |
stream()
Deprecated.
|
CharSortedSet |
subSet(java.lang.Character from,
java.lang.Character to)
Deprecated.
Please use the corresponding type-specific method instead.
|
CharSortedSet |
subSet(char from,
char to)
Returns a view of the portion of this sorted set whose elements range from
fromElement, inclusive, to toElement, exclusive. |
CharSortedSet |
tailSet(char from)
Returns a view of the portion of this sorted set whose elements are greater than or equal to
fromElement. |
CharSortedSet |
tailSet(java.lang.Character from)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Object[] |
toArray() |
char[] |
toArray(char[] arg0) |
<T> T[] |
toArray(T[] arg0) |
char[] |
toCharArray() |
char[] |
toCharArray(char[] arg0)
Deprecated.
|
java.lang.String |
toString() |
equals, hashCode, rem, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waitspliteratoradd, contains, of, of, of, of, of, rem, remove, removeprotected final CharSortedSet sortedSet
protected final it.unimi.dsi.fastutil.chars.CharCollection collection
protected UnmodifiableSortedSet(CharSortedSet s)
public it.unimi.dsi.fastutil.chars.CharComparator comparator()
CharSortedSetcomparator in interface CharSortedSetcomparator in interface java.util.SortedSet<java.lang.Character>public CharSortedSet subSet(char from, char to)
CharSortedSetfromElement, inclusive, to toElement, exclusive.subSet in interface CharSortedSetSortedSet.subSet(Object,Object)public CharSortedSet headSet(char to)
CharSortedSettoElement.headSet in interface CharSortedSetSortedSet.headSet(Object)public CharSortedSet tailSet(char from)
CharSortedSetfromElement.tailSet in interface CharSortedSetSortedSet.tailSet(Object)public it.unimi.dsi.fastutil.chars.CharBidirectionalIterator iterator()
CharSortedSetBidirectionalIterator on the elements in
this set.
This method returns a parameterised bidirectional iterator. The iterator can be moreover safely cast to a type-specific iterator.
iterator in interface it.unimi.dsi.fastutil.chars.CharBidirectionalIterableiterator in interface it.unimi.dsi.fastutil.chars.CharCollectioniterator in interface it.unimi.dsi.fastutil.chars.CharIterableiterator in interface CharSetiterator in interface CharSortedSetiterator in interface java.lang.Iterable<java.lang.Character>iterator in interface java.util.Collection<java.lang.Character>iterator in interface java.util.Set<java.lang.Character>public it.unimi.dsi.fastutil.chars.CharBidirectionalIterator iterator(char from)
CharSortedSetBidirectionalIterator on the elements in
this set, starting from a given element of the domain (optional operation).
This method returns a type-specific bidirectional iterator with given
starting point. The starting point is any element comparable to the
elements of this set (even if it does not actually belong to the
set). The next element of the returned iterator is the least element of
the set that is greater than the starting point (if there are no
elements greater than the starting point, hasNext() will return
false). The previous element of the returned iterator is
the greatest element of the set that is smaller than or equal to the
starting point (if there are no elements smaller than or equal to the
starting point, hasPrevious() will return false).
Note that passing the last element of the set as starting point and
calling previous() you can traverse the
entire set in reverse order.
iterator in interface CharSortedSetfrom - an element to start from.public char firstChar()
CharSortedSetfirstChar in interface CharSortedSetSortedSet.first()public char lastChar()
CharSortedSetlastChar in interface CharSortedSetSortedSet.last()@Deprecated public java.lang.Character first()
first in interface CharSortedSetfirst in interface java.util.SortedSet<java.lang.Character>@Deprecated public java.lang.Character last()
last in interface CharSortedSetlast in interface java.util.SortedSet<java.lang.Character>@Deprecated public CharSortedSet subSet(java.lang.Character from, java.lang.Character to)
subSet in interface CharSortedSetsubSet in interface java.util.SortedSet<java.lang.Character>@Deprecated public CharSortedSet headSet(java.lang.Character to)
headSet in interface CharSortedSetheadSet in interface java.util.SortedSet<java.lang.Character>@Deprecated public CharSortedSet tailSet(java.lang.Character from)
tailSet in interface CharSortedSettailSet in interface java.util.SortedSet<java.lang.Character>public boolean add(char arg0)
add in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic int size()
size in interface java.util.Collection<java.lang.Character>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Character>public boolean contains(char arg0)
contains in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic it.unimi.dsi.fastutil.chars.CharSpliterator spliterator()
spliterator in interface it.unimi.dsi.fastutil.chars.CharCollectionspliterator in interface it.unimi.dsi.fastutil.chars.CharIterablespliterator in interface java.lang.Iterable<java.lang.Character>spliterator in interface java.util.Collection<java.lang.Character>@Deprecated public java.util.stream.Stream<java.lang.Character> stream()
stream in interface it.unimi.dsi.fastutil.chars.CharCollectionstream in interface java.util.Collection<java.lang.Character>@Deprecated public java.util.stream.Stream<java.lang.Character> parallelStream()
parallelStream in interface it.unimi.dsi.fastutil.chars.CharCollectionparallelStream in interface java.util.Collection<java.lang.Character>public void clear()
clear in interface java.util.Collection<java.lang.Character>public <T> T[] toArray(T[] arg0)
toArray in interface java.util.Collection<java.lang.Character>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Character>public void forEach(it.unimi.dsi.fastutil.chars.CharConsumer arg0)
forEach in interface it.unimi.dsi.fastutil.chars.CharIterablepublic boolean containsAll(java.util.Collection<?> arg0)
containsAll in interface java.util.Collection<java.lang.Character>public boolean addAll(java.util.Collection<? extends java.lang.Character> arg0)
addAll in interface java.util.Collection<java.lang.Character>public boolean removeAll(java.util.Collection<?> arg0)
removeAll in interface java.util.Collection<java.lang.Character>public boolean retainAll(java.util.Collection<?> arg0)
retainAll in interface java.util.Collection<java.lang.Character>public boolean removeIf(it.unimi.dsi.fastutil.chars.CharPredicate arg0)
removeIf in interface it.unimi.dsi.fastutil.chars.CharCollection@Deprecated public boolean add(java.lang.Character arg0)
add in interface it.unimi.dsi.fastutil.chars.CharCollectionadd in interface java.util.Collection<java.lang.Character>@Deprecated public boolean contains(java.lang.Object arg0)
contains in interface it.unimi.dsi.fastutil.chars.CharCollectioncontains in interface java.util.Collection<java.lang.Character>@Deprecated public boolean remove(java.lang.Object arg0)
remove in interface it.unimi.dsi.fastutil.chars.CharCollectionremove in interface java.util.Collection<java.lang.Character>public char[] toCharArray()
toCharArray in interface it.unimi.dsi.fastutil.chars.CharCollection@Deprecated public char[] toCharArray(char[] arg0)
toCharArray in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic char[] toArray(char[] arg0)
toArray in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic boolean containsAll(it.unimi.dsi.fastutil.chars.CharCollection arg0)
containsAll in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic boolean addAll(it.unimi.dsi.fastutil.chars.CharCollection arg0)
addAll in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic boolean removeAll(it.unimi.dsi.fastutil.chars.CharCollection arg0)
removeAll in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic boolean retainAll(it.unimi.dsi.fastutil.chars.CharCollection arg0)
retainAll in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic it.unimi.dsi.fastutil.ints.IntIterator intIterator()
intIterator in interface it.unimi.dsi.fastutil.chars.CharCollectionintIterator in interface it.unimi.dsi.fastutil.chars.CharIterablepublic it.unimi.dsi.fastutil.ints.IntSpliterator intSpliterator()
intSpliterator in interface it.unimi.dsi.fastutil.chars.CharCollectionintSpliterator in interface it.unimi.dsi.fastutil.chars.CharIterablepublic java.util.stream.IntStream intStream()
intStream in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic java.util.stream.IntStream intParallelStream()
intParallelStream in interface it.unimi.dsi.fastutil.chars.CharCollectionpublic java.lang.String toString()
toString in class java.lang.Object