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, hashCodeappendString, appendString, asLazy, average, containsAll, containsAll, isEmpty, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, notEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringcollect, reject, selectallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic ImmutableLongSet newWith(long element)
newWith in interface ImmutableLongCollectionnewWith in interface ImmutableLongSetpublic ImmutableLongSet newWithout(long element)
newWithout in interface ImmutableLongCollectionnewWithout in interface ImmutableLongSetpublic ImmutableLongSet newWithAll(LongIterable elements)
newWithAll in interface ImmutableLongCollectionnewWithAll in interface ImmutableLongSetpublic ImmutableLongSet newWithoutAll(LongIterable elements)
newWithoutAll in interface ImmutableLongCollectionnewWithoutAll in interface ImmutableLongSetpublic LongSet freeze()
LongSetpublic ImmutableLongSet toImmutable()
LongSettoImmutable in interface LongSetCopyright © 2004–2016. All rights reserved.