@ThreadSafe public final class SynchronizedLongSet extends AbstractSynchronizedLongCollection implements org.eclipse.collections.api.set.primitive.MutableLongSet
MutableLongSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
LongIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableLongSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.LazyLongIterable |
asLazy() |
org.eclipse.collections.api.set.primitive.MutableLongSet |
asSynchronized() |
org.eclipse.collections.api.set.primitive.MutableLongSet |
asUnmodifiable() |
<V> org.eclipse.collections.api.set.MutableSet<V> |
collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
org.eclipse.collections.api.set.primitive.LongSet |
freeze() |
int |
hashCode() |
static SynchronizedLongSet |
of(org.eclipse.collections.api.set.primitive.MutableLongSet set)
This method will take a MutableLongSet and wrap it directly in a SynchronizedLongSet.
|
static SynchronizedLongSet |
of(org.eclipse.collections.api.set.primitive.MutableLongSet set,
Object lock)
This method will take a MutableLongSet and wrap it directly in a SynchronizedLongSet.
|
org.eclipse.collections.api.set.primitive.MutableLongSet |
reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
org.eclipse.collections.api.set.primitive.MutableLongSet |
select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
org.eclipse.collections.api.set.primitive.ImmutableLongSet |
toImmutable() |
SynchronizedLongSet |
with(long element) |
SynchronizedLongSet |
withAll(org.eclipse.collections.api.LongIterable elements) |
SynchronizedLongSet |
without(long element) |
SynchronizedLongSet |
withoutAll(org.eclipse.collections.api.LongIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, longIterator, 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, longIterator, 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 SynchronizedLongSet of(org.eclipse.collections.api.set.primitive.MutableLongSet set)
public static SynchronizedLongSet of(org.eclipse.collections.api.set.primitive.MutableLongSet set, Object lock)
public SynchronizedLongSet without(long element)
without in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableLongSetwithout in class AbstractSynchronizedLongCollectionpublic SynchronizedLongSet with(long element)
with in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableLongSetwith in class AbstractSynchronizedLongCollectionpublic SynchronizedLongSet withAll(org.eclipse.collections.api.LongIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionwithAll in interface org.eclipse.collections.api.set.primitive.MutableLongSetwithAll in class AbstractSynchronizedLongCollectionpublic SynchronizedLongSet withoutAll(org.eclipse.collections.api.LongIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionwithoutAll in interface org.eclipse.collections.api.set.primitive.MutableLongSetwithoutAll in class AbstractSynchronizedLongCollectionpublic org.eclipse.collections.api.set.primitive.MutableLongSet select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionselect in interface org.eclipse.collections.api.LongIterableselect in interface org.eclipse.collections.api.set.primitive.LongSetselect in interface org.eclipse.collections.api.set.primitive.MutableLongSetselect in class AbstractSynchronizedLongCollectionpublic org.eclipse.collections.api.set.primitive.MutableLongSet reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionreject in interface org.eclipse.collections.api.LongIterablereject in interface org.eclipse.collections.api.set.primitive.LongSetreject in interface org.eclipse.collections.api.set.primitive.MutableLongSetreject in class AbstractSynchronizedLongCollectionpublic <V> org.eclipse.collections.api.set.MutableSet<V> collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectioncollect in interface org.eclipse.collections.api.LongIterablecollect in interface org.eclipse.collections.api.set.primitive.LongSetcollect in interface org.eclipse.collections.api.set.primitive.MutableLongSetcollect in class AbstractSynchronizedLongCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public org.eclipse.collections.api.LazyLongIterable asLazy()
asLazy in interface org.eclipse.collections.api.LongIterableasLazy in class AbstractSynchronizedLongCollectionpublic org.eclipse.collections.api.set.primitive.MutableLongSet asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionasUnmodifiable in interface org.eclipse.collections.api.set.primitive.MutableLongSetasUnmodifiable in class AbstractSynchronizedLongCollectionpublic org.eclipse.collections.api.set.primitive.MutableLongSet asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionasSynchronized in interface org.eclipse.collections.api.set.primitive.MutableLongSetasSynchronized in class AbstractSynchronizedLongCollectionpublic org.eclipse.collections.api.set.primitive.LongSet freeze()
freeze in interface org.eclipse.collections.api.set.primitive.LongSetfreeze in interface org.eclipse.collections.api.set.primitive.MutableLongSetpublic org.eclipse.collections.api.set.primitive.ImmutableLongSet toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectiontoImmutable in interface org.eclipse.collections.api.set.primitive.LongSettoImmutable in interface org.eclipse.collections.api.set.primitive.MutableLongSettoImmutable in class AbstractSynchronizedLongCollectionCopyright © 2004–2017. All rights reserved.