public abstract class AbstractImmutableLongSet extends AbstractLongSet implements ImmutableLongSet
Constructor and Description |
---|
AbstractImmutableLongSet() |
Modifier and Type | Method and 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.
|
equals, hashCode
appendString, appendString, asLazy, average, containsAll, containsAll, isEmpty, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, notEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
collect, reject, select
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, 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–2016. All rights reserved.