@NotThreadSafe public final class UnmodifiableLongSet extends AbstractUnmodifiableLongCollection implements org.eclipse.collections.api.set.primitive.MutableLongSet
| Modifier and Type | Method and Description |
|---|---|
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 UnmodifiableLongSet |
of(org.eclipse.collections.api.set.primitive.MutableLongSet set)
This method will take a MutableLongSet and wrap it directly in a UnmodifiableLongSet.
|
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() |
UnmodifiableLongSet |
with(long element) |
UnmodifiableLongSet |
withAll(org.eclipse.collections.api.LongIterable elements) |
UnmodifiableLongSet |
without(long element) |
UnmodifiableLongSet |
withoutAll(org.eclipse.collections.api.LongIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static UnmodifiableLongSet of(org.eclipse.collections.api.set.primitive.MutableLongSet set)
public UnmodifiableLongSet with(long element)
with in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableLongSetwith in class AbstractUnmodifiableLongCollectionpublic UnmodifiableLongSet without(long element)
without in interface org.eclipse.collections.api.collection.primitive.MutableLongCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableLongSetwithout in class AbstractUnmodifiableLongCollectionpublic UnmodifiableLongSet 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 AbstractUnmodifiableLongCollectionpublic UnmodifiableLongSet 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 AbstractUnmodifiableLongCollectionpublic 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 AbstractUnmodifiableLongCollectionpublic 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 AbstractUnmodifiableLongCollectionpublic <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 AbstractUnmodifiableLongCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public 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 AbstractUnmodifiableLongCollectionpublic 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 AbstractUnmodifiableLongCollectionpublic 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 AbstractUnmodifiableLongCollectionCopyright © 2004–2017. All rights reserved.