ImmutableDoubleCollection, DoubleIterable, PrimitiveIterable, DoubleSet, ImmutableDoubleSetpublic abstract class AbstractImmutableDoubleSet extends AbstractDoubleSet implements ImmutableDoubleSet
| Constructor | Description |
|---|---|
AbstractImmutableDoubleSet() |
| Modifier and Type | Method | Description |
|---|---|---|
RichIterable<DoubleIterable> |
chunk(int size) |
Partitions elements in fixed size chunks.
|
DoubleSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableDoubleSet |
newWith(double element) |
|
ImmutableDoubleSet |
newWithAll(DoubleIterable elements) |
|
ImmutableDoubleSet |
newWithout(double element) |
|
ImmutableDoubleSet |
newWithoutAll(DoubleIterable elements) |
|
ImmutableDoubleSet |
toImmutable() |
Returns an immutable copy of this set.
|
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringequals, hashCodeallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListequals, hashCodecollect, reject, select, tapappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic ImmutableDoubleSet newWith(double element)
newWith in interface ImmutableDoubleCollectionnewWith in interface ImmutableDoubleSetpublic ImmutableDoubleSet newWithout(double element)
newWithout in interface ImmutableDoubleCollectionnewWithout in interface ImmutableDoubleSetpublic ImmutableDoubleSet newWithAll(DoubleIterable elements)
newWithAll in interface ImmutableDoubleCollectionnewWithAll in interface ImmutableDoubleSetpublic ImmutableDoubleSet newWithoutAll(DoubleIterable elements)
newWithoutAll in interface ImmutableDoubleCollectionnewWithoutAll in interface ImmutableDoubleSetpublic DoubleSet freeze()
DoubleSetpublic ImmutableDoubleSet toImmutable()
DoubleSettoImmutable in interface DoubleSetpublic RichIterable<DoubleIterable> chunk(int size)
DoubleIterablechunk in interface DoubleIterablesize - the number of elements per chunkRichIterable containing DoubleIterables of size size, except the last will be
truncated if the elements don't divide evenly.Copyright © 2004–2019. All rights reserved.