public class SynchronizedByteSet extends AbstractSynchronizedByteCollection implements MutableByteSet
MutableByteSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
ByteIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableByteSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedByteSet(MutableByteSet set) |
SynchronizedByteSet(MutableByteSet set,
Object newLock) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, 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, 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 SynchronizedByteSet(MutableByteSet set)
public SynchronizedByteSet(MutableByteSet set, Object newLock)
public static SynchronizedByteSet of(MutableByteSet set)
public static SynchronizedByteSet of(MutableByteSet set, Object lock)
public SynchronizedByteSet without(byte element)
without in interface MutableByteCollectionwithout in interface MutableByteSetwithout in class AbstractSynchronizedByteCollectionpublic SynchronizedByteSet with(byte element)
with in interface MutableByteCollectionwith in interface MutableByteSetwith in class AbstractSynchronizedByteCollectionpublic SynchronizedByteSet withAll(ByteIterable elements)
withAll in interface MutableByteCollectionwithAll in interface MutableByteSetwithAll in class AbstractSynchronizedByteCollectionpublic SynchronizedByteSet withoutAll(ByteIterable elements)
withoutAll in interface MutableByteCollectionwithoutAll in interface MutableByteSetwithoutAll in class AbstractSynchronizedByteCollectionpublic MutableByteSet select(BytePredicate predicate)
select in interface ByteIterableselect in interface MutableByteCollectionselect in interface ByteSetselect in interface MutableByteSetselect in class AbstractSynchronizedByteCollectionpublic MutableByteSet reject(BytePredicate predicate)
reject in interface ByteIterablereject in interface MutableByteCollectionreject in interface ByteSetreject in interface MutableByteSetreject in class AbstractSynchronizedByteCollectionpublic <V> MutableSet<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteIterablecollect in interface MutableByteCollectioncollect in interface ByteSetcollect in interface MutableByteSetcollect in class AbstractSynchronizedByteCollectionpublic LazyIterable<ByteBytePair> cartesianProduct(ByteSet set)
cartesianProduct in interface ByteSetpublic boolean equals(Object otherSet)
public int hashCode()
public LazyByteIterable asLazy()
asLazy in interface ByteIterableasLazy in class AbstractSynchronizedByteCollectionpublic MutableByteSet asUnmodifiable()
asUnmodifiable in interface MutableByteCollectionasUnmodifiable in interface MutableByteSetasUnmodifiable in class AbstractSynchronizedByteCollectionpublic MutableByteSet asSynchronized()
asSynchronized in interface MutableByteCollectionasSynchronized in interface MutableByteSetasSynchronized in class AbstractSynchronizedByteCollectionpublic ByteSet freeze()
freeze in interface ByteSetfreeze in interface MutableByteSetpublic ImmutableByteSet toImmutable()
toImmutable in interface MutableByteCollectiontoImmutable in interface ByteSettoImmutable in interface MutableByteSettoImmutable in class AbstractSynchronizedByteCollectionpublic MutableByteSet newEmpty()
newEmpty in interface MutableByteCollectionnewEmpty in interface MutableByteSetCopyright © 2004–2022. All rights reserved.