public class UnmodifiableByteSet extends AbstractUnmodifiableByteCollection implements MutableByteSet
| Constructor and Description |
|---|
UnmodifiableByteSet(MutableByteSet set) |
| Modifier and Type | Method and Description |
|---|---|
MutableByteSet |
asSynchronized() |
MutableByteSet |
asUnmodifiable() |
LazyIterable<ByteBytePair> |
cartesianProduct(ByteSet set) |
<V> MutableSet<V> |
collect(ByteToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
ByteSet |
freeze() |
int |
hashCode() |
MutableByteSet |
newEmpty() |
static UnmodifiableByteSet |
of(MutableByteSet set)
This method will take a MutableByteSet and wrap it directly in a UnmodifiableByteSet.
|
MutableByteSet |
reject(BytePredicate predicate) |
MutableByteSet |
select(BytePredicate predicate) |
ImmutableByteSet |
toImmutable() |
UnmodifiableByteSet |
with(byte element) |
UnmodifiableByteSet |
withAll(ByteIterable elements) |
UnmodifiableByteSet |
without(byte element) |
UnmodifiableByteSet |
withoutAll(ByteIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, byteIterator, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringdifference, intersect, symmetricDifference, tap, unionadd, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllisProperSubsetOf, isSubsetOfallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic UnmodifiableByteSet(MutableByteSet set)
public static UnmodifiableByteSet of(MutableByteSet set)
public UnmodifiableByteSet with(byte element)
with in interface MutableByteCollectionwith in interface MutableByteSetwith in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteSet without(byte element)
without in interface MutableByteCollectionwithout in interface MutableByteSetwithout in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteSet withAll(ByteIterable elements)
withAll in interface MutableByteCollectionwithAll in interface MutableByteSetwithAll in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteSet withoutAll(ByteIterable elements)
withoutAll in interface MutableByteCollectionwithoutAll in interface MutableByteSetwithoutAll in class AbstractUnmodifiableByteCollectionpublic MutableByteSet select(BytePredicate predicate)
select in interface ByteIterableselect in interface MutableByteCollectionselect in interface ByteSetselect in interface MutableByteSetselect in class AbstractUnmodifiableByteCollectionpublic MutableByteSet reject(BytePredicate predicate)
reject in interface ByteIterablereject in interface MutableByteCollectionreject in interface ByteSetreject in interface MutableByteSetreject in class AbstractUnmodifiableByteCollectionpublic <V> MutableSet<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteIterablecollect in interface MutableByteCollectioncollect in interface ByteSetcollect in interface MutableByteSetcollect in class AbstractUnmodifiableByteCollectionpublic LazyIterable<ByteBytePair> cartesianProduct(ByteSet set)
cartesianProduct in interface ByteSetpublic boolean equals(Object otherSet)
public int hashCode()
public MutableByteSet asUnmodifiable()
asUnmodifiable in interface MutableByteCollectionasUnmodifiable in interface MutableByteSetasUnmodifiable in class AbstractUnmodifiableByteCollectionpublic MutableByteSet asSynchronized()
asSynchronized in interface MutableByteCollectionasSynchronized in interface MutableByteSetasSynchronized in class AbstractUnmodifiableByteCollectionpublic ByteSet freeze()
freeze in interface ByteSetfreeze in interface MutableByteSetpublic ImmutableByteSet toImmutable()
toImmutable in interface MutableByteCollectiontoImmutable in interface ByteSettoImmutable in interface MutableByteSettoImmutable in class AbstractUnmodifiableByteCollectionpublic MutableByteSet newEmpty()
newEmpty in interface MutableByteCollectionnewEmpty in interface MutableByteSetCopyright © 2004–2022. All rights reserved.