public class UnmodifiableIntSet extends AbstractUnmodifiableIntCollection implements MutableIntSet
| Constructor and Description |
|---|
UnmodifiableIntSet(MutableIntSet set) |
| Modifier and Type | Method and Description |
|---|---|
MutableIntSet |
asSynchronized() |
MutableIntSet |
asUnmodifiable() |
LazyIterable<IntIntPair> |
cartesianProduct(IntSet set) |
<V> MutableSet<V> |
collect(IntToObjectFunction<? extends V> function) |
boolean |
equals(Object otherSet) |
IntSet |
freeze() |
int |
hashCode() |
MutableIntSet |
newEmpty() |
static UnmodifiableIntSet |
of(MutableIntSet set)
This method will take a MutableIntSet and wrap it directly in a UnmodifiableIntSet.
|
MutableIntSet |
reject(IntPredicate predicate) |
MutableIntSet |
select(IntPredicate predicate) |
ImmutableIntSet |
toImmutable() |
UnmodifiableIntSet |
with(int element) |
UnmodifiableIntSet |
withAll(IntIterable elements) |
UnmodifiableIntSet |
without(int element) |
UnmodifiableIntSet |
withoutAll(IntIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, intIterator, isEmpty, 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, intIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllisProperSubsetOf, isSubsetOfallSatisfy, anySatisfy, asLazy, 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 UnmodifiableIntSet(MutableIntSet set)
public static UnmodifiableIntSet of(MutableIntSet set)
public UnmodifiableIntSet with(int element)
with in interface MutableIntCollectionwith in interface MutableIntSetwith in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntSet without(int element)
without in interface MutableIntCollectionwithout in interface MutableIntSetwithout in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntSet withAll(IntIterable elements)
withAll in interface MutableIntCollectionwithAll in interface MutableIntSetwithAll in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntSet withoutAll(IntIterable elements)
withoutAll in interface MutableIntCollectionwithoutAll in interface MutableIntSetwithoutAll in class AbstractUnmodifiableIntCollectionpublic MutableIntSet select(IntPredicate predicate)
select in interface MutableIntCollectionselect in interface IntIterableselect in interface IntSetselect in interface MutableIntSetselect in class AbstractUnmodifiableIntCollectionpublic MutableIntSet reject(IntPredicate predicate)
reject in interface MutableIntCollectionreject in interface IntIterablereject in interface IntSetreject in interface MutableIntSetreject in class AbstractUnmodifiableIntCollectionpublic <V> MutableSet<V> collect(IntToObjectFunction<? extends V> function)
collect in interface MutableIntCollectioncollect in interface IntIterablecollect in interface IntSetcollect in interface MutableIntSetcollect in class AbstractUnmodifiableIntCollectionpublic LazyIterable<IntIntPair> cartesianProduct(IntSet set)
cartesianProduct in interface IntSetpublic boolean equals(Object otherSet)
public int hashCode()
public MutableIntSet asUnmodifiable()
asUnmodifiable in interface MutableIntCollectionasUnmodifiable in interface MutableIntSetasUnmodifiable in class AbstractUnmodifiableIntCollectionpublic MutableIntSet asSynchronized()
asSynchronized in interface MutableIntCollectionasSynchronized in interface MutableIntSetasSynchronized in class AbstractUnmodifiableIntCollectionpublic IntSet freeze()
freeze in interface IntSetfreeze in interface MutableIntSetpublic ImmutableIntSet toImmutable()
toImmutable in interface MutableIntCollectiontoImmutable in interface IntSettoImmutable in interface MutableIntSettoImmutable in class AbstractUnmodifiableIntCollectionpublic MutableIntSet newEmpty()
newEmpty in interface MutableIntCollectionnewEmpty in interface MutableIntSetCopyright © 2004–2022. All rights reserved.