public static class ByteSortedSets.UnmodifiableSortedSet extends ByteSets.UnmodifiableSet implements ByteSortedSet, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.bytes.ByteCollection |
collection |
protected ByteSortedSet |
sortedSet |
| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableSortedSet(ByteSortedSet s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(byte arg0) |
boolean |
add(java.lang.Byte arg0)
Deprecated.
|
boolean |
addAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
addAll(java.util.Collection<? extends java.lang.Byte> arg0) |
void |
clear() |
it.unimi.dsi.fastutil.bytes.ByteComparator |
comparator() |
boolean |
contains(byte arg0) |
boolean |
contains(java.lang.Object arg0)
Deprecated.
|
boolean |
containsAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
containsAll(java.util.Collection<?> arg0) |
java.lang.Byte |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
firstByte()
Returns the first (lowest) element currently in this set.
|
void |
forEach(it.unimi.dsi.fastutil.bytes.ByteConsumer arg0) |
ByteSortedSet |
headSet(byte to)
Returns a view of the portion of this sorted set whose elements are strictly less than
toElement. |
ByteSortedSet |
headSet(java.lang.Byte 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.bytes.ByteBidirectionalIterator |
iterator()
Returns a type-specific
BidirectionalIterator on the elements in
this set. |
it.unimi.dsi.fastutil.bytes.ByteBidirectionalIterator |
iterator(byte from)
Returns a type-specific
BidirectionalIterator on the elements in
this set, starting from a given element of the domain (optional operation). |
java.lang.Byte |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
lastByte()
Returns the last (highest) element currently in this set.
|
java.util.stream.Stream<java.lang.Byte> |
parallelStream()
Deprecated.
|
boolean |
remove(java.lang.Object arg0)
Deprecated.
|
boolean |
removeAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
removeIf(it.unimi.dsi.fastutil.bytes.BytePredicate arg0) |
boolean |
retainAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
int |
size() |
it.unimi.dsi.fastutil.bytes.ByteSpliterator |
spliterator() |
java.util.stream.Stream<java.lang.Byte> |
stream()
Deprecated.
|
ByteSortedSet |
subSet(byte from,
byte to)
Returns a view of the portion of this sorted set whose elements range from
fromElement, inclusive, to toElement, exclusive. |
ByteSortedSet |
subSet(java.lang.Byte from,
java.lang.Byte to)
Deprecated.
Please use the corresponding type-specific method instead.
|
ByteSortedSet |
tailSet(byte from)
Returns a view of the portion of this sorted set whose elements are greater than or equal to
fromElement. |
ByteSortedSet |
tailSet(java.lang.Byte from)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Object[] |
toArray() |
byte[] |
toArray(byte[] arg0) |
<T> T[] |
toArray(T[] arg0) |
byte[] |
toByteArray() |
byte[] |
toByteArray(byte[] 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 ByteSortedSet sortedSet
protected final it.unimi.dsi.fastutil.bytes.ByteCollection collection
protected UnmodifiableSortedSet(ByteSortedSet s)
public it.unimi.dsi.fastutil.bytes.ByteComparator comparator()
ByteSortedSetcomparator in interface ByteSortedSetcomparator in interface java.util.SortedSet<java.lang.Byte>public ByteSortedSet subSet(byte from, byte to)
ByteSortedSetfromElement, inclusive, to toElement, exclusive.subSet in interface ByteSortedSetSortedSet.subSet(Object,Object)public ByteSortedSet headSet(byte to)
ByteSortedSettoElement.headSet in interface ByteSortedSetSortedSet.headSet(Object)public ByteSortedSet tailSet(byte from)
ByteSortedSetfromElement.tailSet in interface ByteSortedSetSortedSet.tailSet(Object)public it.unimi.dsi.fastutil.bytes.ByteBidirectionalIterator iterator()
ByteSortedSetBidirectionalIterator 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.bytes.ByteBidirectionalIterableiterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectioniterator in interface it.unimi.dsi.fastutil.bytes.ByteIterableiterator in interface ByteSetiterator in interface ByteSortedSetiterator in interface java.lang.Iterable<java.lang.Byte>iterator in interface java.util.Collection<java.lang.Byte>iterator in interface java.util.Set<java.lang.Byte>public it.unimi.dsi.fastutil.bytes.ByteBidirectionalIterator iterator(byte from)
ByteSortedSetBidirectionalIterator 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 ByteSortedSetfrom - an element to start from.public byte firstByte()
ByteSortedSetfirstByte in interface ByteSortedSetSortedSet.first()public byte lastByte()
ByteSortedSetlastByte in interface ByteSortedSetSortedSet.last()@Deprecated public java.lang.Byte first()
first in interface ByteSortedSetfirst in interface java.util.SortedSet<java.lang.Byte>@Deprecated public java.lang.Byte last()
last in interface ByteSortedSetlast in interface java.util.SortedSet<java.lang.Byte>@Deprecated public ByteSortedSet subSet(java.lang.Byte from, java.lang.Byte to)
subSet in interface ByteSortedSetsubSet in interface java.util.SortedSet<java.lang.Byte>@Deprecated public ByteSortedSet headSet(java.lang.Byte to)
headSet in interface ByteSortedSetheadSet in interface java.util.SortedSet<java.lang.Byte>@Deprecated public ByteSortedSet tailSet(java.lang.Byte from)
tailSet in interface ByteSortedSettailSet in interface java.util.SortedSet<java.lang.Byte>public boolean add(byte arg0)
add in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic int size()
size in interface java.util.Collection<java.lang.Byte>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Byte>public boolean contains(byte arg0)
contains in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic it.unimi.dsi.fastutil.bytes.ByteSpliterator spliterator()
spliterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectionspliterator in interface it.unimi.dsi.fastutil.bytes.ByteIterablespliterator in interface java.lang.Iterable<java.lang.Byte>spliterator in interface java.util.Collection<java.lang.Byte>@Deprecated public java.util.stream.Stream<java.lang.Byte> stream()
stream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionstream in interface java.util.Collection<java.lang.Byte>@Deprecated public java.util.stream.Stream<java.lang.Byte> parallelStream()
parallelStream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionparallelStream in interface java.util.Collection<java.lang.Byte>public void clear()
clear in interface java.util.Collection<java.lang.Byte>public <T> T[] toArray(T[] arg0)
toArray in interface java.util.Collection<java.lang.Byte>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Byte>public void forEach(it.unimi.dsi.fastutil.bytes.ByteConsumer arg0)
forEach in interface it.unimi.dsi.fastutil.bytes.ByteIterablepublic boolean containsAll(java.util.Collection<?> arg0)
containsAll in interface java.util.Collection<java.lang.Byte>public boolean addAll(java.util.Collection<? extends java.lang.Byte> arg0)
addAll in interface java.util.Collection<java.lang.Byte>public boolean removeAll(java.util.Collection<?> arg0)
removeAll in interface java.util.Collection<java.lang.Byte>public boolean retainAll(java.util.Collection<?> arg0)
retainAll in interface java.util.Collection<java.lang.Byte>public boolean removeIf(it.unimi.dsi.fastutil.bytes.BytePredicate arg0)
removeIf in interface it.unimi.dsi.fastutil.bytes.ByteCollection@Deprecated public boolean add(java.lang.Byte arg0)
add in interface it.unimi.dsi.fastutil.bytes.ByteCollectionadd in interface java.util.Collection<java.lang.Byte>@Deprecated public boolean contains(java.lang.Object arg0)
contains in interface it.unimi.dsi.fastutil.bytes.ByteCollectioncontains in interface java.util.Collection<java.lang.Byte>@Deprecated public boolean remove(java.lang.Object arg0)
remove in interface it.unimi.dsi.fastutil.bytes.ByteCollectionremove in interface java.util.Collection<java.lang.Byte>public byte[] toByteArray()
toByteArray in interface it.unimi.dsi.fastutil.bytes.ByteCollection@Deprecated public byte[] toByteArray(byte[] arg0)
toByteArray in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic byte[] toArray(byte[] arg0)
toArray in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean containsAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
containsAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean addAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
addAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean removeAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
removeAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic boolean retainAll(it.unimi.dsi.fastutil.bytes.ByteCollection arg0)
retainAll in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic it.unimi.dsi.fastutil.ints.IntIterator intIterator()
intIterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectionintIterator in interface it.unimi.dsi.fastutil.bytes.ByteIterablepublic it.unimi.dsi.fastutil.ints.IntSpliterator intSpliterator()
intSpliterator in interface it.unimi.dsi.fastutil.bytes.ByteCollectionintSpliterator in interface it.unimi.dsi.fastutil.bytes.ByteIterablepublic java.util.stream.IntStream intStream()
intStream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic java.util.stream.IntStream intParallelStream()
intParallelStream in interface it.unimi.dsi.fastutil.bytes.ByteCollectionpublic java.lang.String toString()
toString in class java.lang.Object