@NotThreadSafe public final class UnmodifiableIntSet extends AbstractUnmodifiableIntCollection implements org.eclipse.collections.api.set.primitive.MutableIntSet
| Modifier and Type | Method and Description |
|---|---|
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 UnmodifiableIntSet |
of(org.eclipse.collections.api.set.primitive.MutableIntSet set)
This method will take a MutableIntSet and wrap it directly in a UnmodifiableIntSet.
|
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() |
UnmodifiableIntSet |
with(int element) |
UnmodifiableIntSet |
withAll(org.eclipse.collections.api.IntIterable elements) |
UnmodifiableIntSet |
without(int element) |
UnmodifiableIntSet |
withoutAll(org.eclipse.collections.api.IntIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static UnmodifiableIntSet of(org.eclipse.collections.api.set.primitive.MutableIntSet set)
public UnmodifiableIntSet with(int element)
with in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwith in interface org.eclipse.collections.api.set.primitive.MutableIntSetwith in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntSet without(int element)
without in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithout in interface org.eclipse.collections.api.set.primitive.MutableIntSetwithout in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntSet 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 AbstractUnmodifiableIntCollectionpublic UnmodifiableIntSet 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic <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 AbstractUnmodifiableIntCollectionpublic boolean equals(Object otherSet)
public int hashCode()
public 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionCopyright © 2004–2018. All rights reserved.