public class SynchronizedLongSet extends AbstractSynchronizedLongCollection implements 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| Constructor and Description |
|---|
SynchronizedLongSet(MutableLongSet set) |
SynchronizedLongSet(MutableLongSet set,
Object newLock) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, isEmpty, longIterator, 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, clear, longIterator, 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 SynchronizedLongSet(MutableLongSet set)
public SynchronizedLongSet(MutableLongSet set, Object newLock)
public static SynchronizedLongSet of(MutableLongSet set)
public static SynchronizedLongSet of(MutableLongSet set, Object lock)
public SynchronizedLongSet without(long element)
without in interface MutableLongCollectionwithout in interface MutableLongSetwithout in class AbstractSynchronizedLongCollectionpublic SynchronizedLongSet with(long element)
with in interface MutableLongCollectionwith in interface MutableLongSetwith in class AbstractSynchronizedLongCollectionpublic SynchronizedLongSet withAll(LongIterable elements)
withAll in interface MutableLongCollectionwithAll in interface MutableLongSetwithAll in class AbstractSynchronizedLongCollectionpublic SynchronizedLongSet withoutAll(LongIterable elements)
withoutAll in interface MutableLongCollectionwithoutAll in interface MutableLongSetwithoutAll in class AbstractSynchronizedLongCollectionpublic MutableLongSet select(LongPredicate predicate)
select in interface MutableLongCollectionselect in interface LongIterableselect in interface LongSetselect in interface MutableLongSetselect in class AbstractSynchronizedLongCollectionpublic MutableLongSet reject(LongPredicate predicate)
reject in interface MutableLongCollectionreject in interface LongIterablereject in interface LongSetreject in interface MutableLongSetreject in class AbstractSynchronizedLongCollectionpublic <V> MutableSet<V> collect(LongToObjectFunction<? extends V> function)
collect in interface MutableLongCollectioncollect in interface LongIterablecollect in interface LongSetcollect in interface MutableLongSetcollect in class AbstractSynchronizedLongCollectionpublic LazyIterable<LongLongPair> cartesianProduct(LongSet set)
cartesianProduct in interface LongSetpublic boolean equals(Object otherSet)
public int hashCode()
public LazyLongIterable asLazy()
asLazy in interface LongIterableasLazy in class AbstractSynchronizedLongCollectionpublic MutableLongSet asUnmodifiable()
asUnmodifiable in interface MutableLongCollectionasUnmodifiable in interface MutableLongSetasUnmodifiable in class AbstractSynchronizedLongCollectionpublic MutableLongSet asSynchronized()
asSynchronized in interface MutableLongCollectionasSynchronized in interface MutableLongSetasSynchronized in class AbstractSynchronizedLongCollectionpublic LongSet freeze()
freeze in interface LongSetfreeze in interface MutableLongSetpublic ImmutableLongSet toImmutable()
toImmutable in interface MutableLongCollectiontoImmutable in interface LongSettoImmutable in interface MutableLongSettoImmutable in class AbstractSynchronizedLongCollectionpublic MutableLongSet newEmpty()
newEmpty in interface MutableLongCollectionnewEmpty in interface MutableLongSetCopyright © 2004–2022. All rights reserved.