ImmutableLongCollection
, LongIterable
, PrimitiveIterable
, ImmutableLongSet
, LongSet
public abstract class AbstractImmutableLongSet extends AbstractLongSet implements ImmutableLongSet
Constructor | Description |
---|---|
AbstractImmutableLongSet() |
Modifier and Type | Method | Description |
---|---|---|
LongSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableLongSet |
newWith(long element) |
|
ImmutableLongSet |
newWithAll(LongIterable elements) |
|
ImmutableLongSet |
newWithout(long element) |
|
ImmutableLongSet |
newWithoutAll(LongIterable elements) |
|
ImmutableLongSet |
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, longIterator, 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 ImmutableLongSet newWith(long element)
newWith
in interface ImmutableLongCollection
newWith
in interface ImmutableLongSet
public ImmutableLongSet newWithout(long element)
newWithout
in interface ImmutableLongCollection
newWithout
in interface ImmutableLongSet
public ImmutableLongSet newWithAll(LongIterable elements)
newWithAll
in interface ImmutableLongCollection
newWithAll
in interface ImmutableLongSet
public ImmutableLongSet newWithoutAll(LongIterable elements)
newWithoutAll
in interface ImmutableLongCollection
newWithoutAll
in interface ImmutableLongSet
public LongSet freeze()
LongSet
public ImmutableLongSet toImmutable()
LongSet
toImmutable
in interface LongSet
Copyright © 2004–2017. All rights reserved.