@ThreadSafe public final class SynchronizedIntSet extends AbstractSynchronizedIntCollection implements org.eclipse.collections.api.set.primitive.MutableIntSet
MutableIntSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
IntIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableIntSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.LazyIntIterable |
asLazy() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
asSynchronized() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
asUnmodifiable() |
<V> org.eclipse.collections.api.set.MutableSet<V> |
collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
org.eclipse.collections.api.set.primitive.IntSet |
freeze() |
int |
hashCode() |
static SynchronizedIntSet |
of(org.eclipse.collections.api.set.primitive.MutableIntSet set)
This method will take a MutableIntSet and wrap it directly in a SynchronizedIntSet.
|
static SynchronizedIntSet |
of(org.eclipse.collections.api.set.primitive.MutableIntSet set,
Object lock)
This method will take a MutableIntSet and wrap it directly in a SynchronizedIntSet.
|
org.eclipse.collections.api.set.primitive.MutableIntSet |
reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
org.eclipse.collections.api.set.primitive.MutableIntSet |
select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
org.eclipse.collections.api.set.primitive.ImmutableIntSet |
toImmutable() |
SynchronizedIntSet |
with(int element) |
SynchronizedIntSet |
withAll(org.eclipse.collections.api.IntIterable elements) |
SynchronizedIntSet |
without(int element) |
SynchronizedIntSet |
withoutAll(org.eclipse.collections.api.IntIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, intIterator, 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, clear, intIterator, 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 SynchronizedIntSet of(org.eclipse.collections.api.set.primitive.MutableIntSet set)
public static SynchronizedIntSet of(org.eclipse.collections.api.set.primitive.MutableIntSet set, Object lock)
public SynchronizedIntSet without(int element)
without in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableIntSetwithout in class AbstractSynchronizedIntCollectionpublic SynchronizedIntSet with(int element)
with in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableIntSetwith in class AbstractSynchronizedIntCollectionpublic SynchronizedIntSet withAll(org.eclipse.collections.api.IntIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithAll in interface org.eclipse.collections.api.set.primitive.MutableIntSetwithAll in class AbstractSynchronizedIntCollectionpublic SynchronizedIntSet withoutAll(org.eclipse.collections.api.IntIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithoutAll in interface org.eclipse.collections.api.set.primitive.MutableIntSetwithoutAll in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.set.primitive.MutableIntSet select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionselect in interface org.eclipse.collections.api.IntIterableselect in interface org.eclipse.collections.api.set.primitive.IntSetselect in interface org.eclipse.collections.api.set.primitive.MutableIntSetselect in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.set.primitive.MutableIntSet reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionreject in interface org.eclipse.collections.api.IntIterablereject in interface org.eclipse.collections.api.set.primitive.IntSetreject in interface org.eclipse.collections.api.set.primitive.MutableIntSetreject in class AbstractSynchronizedIntCollectionpublic <V> org.eclipse.collections.api.set.MutableSet<V> collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectioncollect in interface org.eclipse.collections.api.IntIterablecollect in interface org.eclipse.collections.api.set.primitive.IntSetcollect in interface org.eclipse.collections.api.set.primitive.MutableIntSetcollect in class AbstractSynchronizedIntCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public org.eclipse.collections.api.LazyIntIterable asLazy()
asLazy in interface org.eclipse.collections.api.IntIterableasLazy in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.set.primitive.MutableIntSet asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionasUnmodifiable in interface org.eclipse.collections.api.set.primitive.MutableIntSetasUnmodifiable in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.set.primitive.MutableIntSet asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionasSynchronized in interface org.eclipse.collections.api.set.primitive.MutableIntSetasSynchronized in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.set.primitive.IntSet freeze()
freeze in interface org.eclipse.collections.api.set.primitive.IntSetfreeze in interface org.eclipse.collections.api.set.primitive.MutableIntSetpublic org.eclipse.collections.api.set.primitive.ImmutableIntSet toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectiontoImmutable in interface org.eclipse.collections.api.set.primitive.IntSettoImmutable in interface org.eclipse.collections.api.set.primitive.MutableIntSettoImmutable in class AbstractSynchronizedIntCollectionCopyright © 2004–2017. All rights reserved.