ImmutableIntCollection
, IntIterable
, PrimitiveIterable
, ImmutableIntSet
, IntSet
public abstract class AbstractImmutableIntSet extends AbstractIntSet implements ImmutableIntSet
Constructor | Description |
---|---|
AbstractImmutableIntSet() |
Modifier and Type | Method | Description |
---|---|---|
IntSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableIntSet |
newWith(int element) |
|
ImmutableIntSet |
newWithAll(IntIterable elements) |
|
ImmutableIntSet |
newWithout(int element) |
|
ImmutableIntSet |
newWithoutAll(IntIterable elements) |
|
ImmutableIntSet |
toImmutable() |
Returns an immutable copy of this set.
|
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
equals, hashCode
collect, reject, select
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public ImmutableIntSet newWith(int element)
newWith
in interface ImmutableIntCollection
newWith
in interface ImmutableIntSet
public ImmutableIntSet newWithout(int element)
newWithout
in interface ImmutableIntCollection
newWithout
in interface ImmutableIntSet
public ImmutableIntSet newWithAll(IntIterable elements)
newWithAll
in interface ImmutableIntCollection
newWithAll
in interface ImmutableIntSet
public ImmutableIntSet newWithoutAll(IntIterable elements)
newWithoutAll
in interface ImmutableIntCollection
newWithoutAll
in interface ImmutableIntSet
public IntSet freeze()
IntSet
public ImmutableIntSet toImmutable()
IntSet
toImmutable
in interface IntSet
Copyright © 2004–2017. All rights reserved.