@ThreadSafe public final class SynchronizedByteSet extends AbstractSynchronizedByteCollection implements org.eclipse.collections.api.set.primitive.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| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.LazyByteIterable |
asLazy() |
org.eclipse.collections.api.set.primitive.MutableByteSet |
asSynchronized() |
org.eclipse.collections.api.set.primitive.MutableByteSet |
asUnmodifiable() |
<V> org.eclipse.collections.api.set.MutableSet<V> |
collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
org.eclipse.collections.api.set.primitive.ByteSet |
freeze() |
int |
hashCode() |
static SynchronizedByteSet |
of(org.eclipse.collections.api.set.primitive.MutableByteSet set)
This method will take a MutableByteSet and wrap it directly in a SynchronizedByteSet.
|
static SynchronizedByteSet |
of(org.eclipse.collections.api.set.primitive.MutableByteSet set,
Object lock)
This method will take a MutableByteSet and wrap it directly in a SynchronizedByteSet.
|
org.eclipse.collections.api.set.primitive.MutableByteSet |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.set.primitive.MutableByteSet |
select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.set.primitive.ImmutableByteSet |
toImmutable() |
SynchronizedByteSet |
with(byte element) |
SynchronizedByteSet |
withAll(org.eclipse.collections.api.ByteIterable elements) |
SynchronizedByteSet |
without(byte element) |
SynchronizedByteSet |
withoutAll(org.eclipse.collections.api.ByteIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, byteIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, 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, toStringadd, addAll, addAll, byteIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static SynchronizedByteSet of(org.eclipse.collections.api.set.primitive.MutableByteSet set)
public static SynchronizedByteSet of(org.eclipse.collections.api.set.primitive.MutableByteSet set, Object lock)
public SynchronizedByteSet without(byte element)
without in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableByteSetwithout in class AbstractSynchronizedByteCollectionpublic SynchronizedByteSet with(byte element)
with in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableByteSetwith in class AbstractSynchronizedByteCollectionpublic SynchronizedByteSet withAll(org.eclipse.collections.api.ByteIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithAll in interface org.eclipse.collections.api.set.primitive.MutableByteSetwithAll in class AbstractSynchronizedByteCollectionpublic SynchronizedByteSet withoutAll(org.eclipse.collections.api.ByteIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithoutAll in interface org.eclipse.collections.api.set.primitive.MutableByteSetwithoutAll in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.set.primitive.MutableByteSet select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface org.eclipse.collections.api.ByteIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionselect in interface org.eclipse.collections.api.set.primitive.ByteSetselect in interface org.eclipse.collections.api.set.primitive.MutableByteSetselect in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.set.primitive.MutableByteSet reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface org.eclipse.collections.api.ByteIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionreject in interface org.eclipse.collections.api.set.primitive.ByteSetreject in interface org.eclipse.collections.api.set.primitive.MutableByteSetreject in class AbstractSynchronizedByteCollectionpublic <V> org.eclipse.collections.api.set.MutableSet<V> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectioncollect in interface org.eclipse.collections.api.set.primitive.ByteSetcollect in interface org.eclipse.collections.api.set.primitive.MutableByteSetcollect in class AbstractSynchronizedByteCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public org.eclipse.collections.api.LazyByteIterable asLazy()
asLazy in interface org.eclipse.collections.api.ByteIterableasLazy in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.set.primitive.MutableByteSet asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionasUnmodifiable in interface org.eclipse.collections.api.set.primitive.MutableByteSetasUnmodifiable in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.set.primitive.MutableByteSet asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionasSynchronized in interface org.eclipse.collections.api.set.primitive.MutableByteSetasSynchronized in class AbstractSynchronizedByteCollectionpublic org.eclipse.collections.api.set.primitive.ByteSet freeze()
freeze in interface org.eclipse.collections.api.set.primitive.ByteSetfreeze in interface org.eclipse.collections.api.set.primitive.MutableByteSetpublic org.eclipse.collections.api.set.primitive.ImmutableByteSet toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectiontoImmutable in interface org.eclipse.collections.api.set.primitive.ByteSettoImmutable in interface org.eclipse.collections.api.set.primitive.MutableByteSettoImmutable in class AbstractSynchronizedByteCollectionCopyright © 2004–2018. All rights reserved.