@NotThreadSafe public final class UnmodifiableByteSet extends AbstractUnmodifiableByteCollection implements com.gs.collections.api.set.primitive.MutableByteSet
| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.set.primitive.MutableByteSet |
asSynchronized() |
com.gs.collections.api.set.primitive.MutableByteSet |
asUnmodifiable() |
<V> com.gs.collections.api.set.MutableSet<V> |
collect(com.gs.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
boolean |
equals(java.lang.Object otherSet)
Follows the same general contract as
Set.equals(Object). |
com.gs.collections.api.set.primitive.ByteSet |
freeze()
Returns a frozen copy of this set.
|
int |
hashCode()
Follows the same general contract as
Set.hashCode(). |
static UnmodifiableByteSet |
of(com.gs.collections.api.set.primitive.MutableByteSet set)
This method will take a MutableByteSet and wrap it directly in a UnmodifiableByteSet.
|
com.gs.collections.api.set.primitive.MutableByteSet |
reject(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
com.gs.collections.api.set.primitive.MutableByteSet |
select(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate) |
com.gs.collections.api.set.primitive.ImmutableByteSet |
toImmutable()
Returns an immutable copy of this set.
|
UnmodifiableByteSet |
with(byte element) |
UnmodifiableByteSet |
withAll(com.gs.collections.api.ByteIterable elements) |
UnmodifiableByteSet |
without(byte element) |
UnmodifiableByteSet |
withoutAll(com.gs.collections.api.ByteIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, byteIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, getByteCollection, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static UnmodifiableByteSet of(com.gs.collections.api.set.primitive.MutableByteSet set)
public UnmodifiableByteSet with(byte element)
with in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwith in interface com.gs.collections.api.set.primitive.MutableByteSetwith in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteSet without(byte element)
without in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithout in interface com.gs.collections.api.set.primitive.MutableByteSetwithout in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteSet withAll(com.gs.collections.api.ByteIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithAll in interface com.gs.collections.api.set.primitive.MutableByteSetwithAll in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteSet withoutAll(com.gs.collections.api.ByteIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableByteCollectionwithoutAll in interface com.gs.collections.api.set.primitive.MutableByteSetwithoutAll in class AbstractUnmodifiableByteCollectionpublic com.gs.collections.api.set.primitive.MutableByteSet select(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface com.gs.collections.api.ByteIterableselect in interface com.gs.collections.api.collection.primitive.MutableByteCollectionselect in interface com.gs.collections.api.set.primitive.ByteSetselect in interface com.gs.collections.api.set.primitive.MutableByteSetselect in class AbstractUnmodifiableByteCollectionpublic com.gs.collections.api.set.primitive.MutableByteSet reject(com.gs.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface com.gs.collections.api.ByteIterablereject in interface com.gs.collections.api.collection.primitive.MutableByteCollectionreject in interface com.gs.collections.api.set.primitive.ByteSetreject in interface com.gs.collections.api.set.primitive.MutableByteSetreject in class AbstractUnmodifiableByteCollectionpublic <V> com.gs.collections.api.set.MutableSet<V> collect(com.gs.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.ByteIterablecollect in interface com.gs.collections.api.collection.primitive.MutableByteCollectioncollect in interface com.gs.collections.api.set.primitive.ByteSetcollect in interface com.gs.collections.api.set.primitive.MutableByteSetcollect in class AbstractUnmodifiableByteCollectionpublic boolean equals(java.lang.Object otherSet)
com.gs.collections.api.set.primitive.ByteSetSet.equals(Object).equals in interface com.gs.collections.api.set.primitive.ByteSetequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.set.primitive.ByteSetSet.hashCode().hashCode in interface com.gs.collections.api.set.primitive.ByteSethashCode in class java.lang.Objectpublic com.gs.collections.api.set.primitive.MutableByteSet asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableByteCollectionasUnmodifiable in interface com.gs.collections.api.set.primitive.MutableByteSetasUnmodifiable in class AbstractUnmodifiableByteCollectionpublic com.gs.collections.api.set.primitive.MutableByteSet asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableByteCollectionasSynchronized in interface com.gs.collections.api.set.primitive.MutableByteSetasSynchronized in class AbstractUnmodifiableByteCollectionpublic com.gs.collections.api.set.primitive.ByteSet freeze()
com.gs.collections.api.set.primitive.MutableByteSetfreeze in interface com.gs.collections.api.set.primitive.ByteSetfreeze in interface com.gs.collections.api.set.primitive.MutableByteSetpublic com.gs.collections.api.set.primitive.ImmutableByteSet toImmutable()
com.gs.collections.api.set.primitive.MutableByteSettoImmutable in interface com.gs.collections.api.collection.primitive.MutableByteCollectiontoImmutable in interface com.gs.collections.api.set.primitive.ByteSettoImmutable in interface com.gs.collections.api.set.primitive.MutableByteSettoImmutable in class AbstractUnmodifiableByteCollection