ImmutableShortCollection, PrimitiveIterable, ImmutableShortSet, ShortSet, ShortIterablepublic abstract class AbstractImmutableShortSet extends AbstractShortSet implements ImmutableShortSet
| Constructor | Description |
|---|---|
AbstractImmutableShortSet() |
| Modifier and Type | Method | Description |
|---|---|---|
RichIterable<ShortIterable> |
chunk(int size) |
Partitions elements in fixed size chunks.
|
ShortSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableShortSet |
newWith(short element) |
|
ImmutableShortSet |
newWithAll(ShortIterable elements) |
|
ImmutableShortSet |
newWithout(short element) |
|
ImmutableShortSet |
newWithoutAll(ShortIterable elements) |
|
ImmutableShortSet |
toImmutable() |
Returns an immutable copy of this set.
|
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringequals, hashCodecollect, reject, select, tapappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic ImmutableShortSet newWith(short element)
newWith in interface ImmutableShortCollectionnewWith in interface ImmutableShortSetpublic ImmutableShortSet newWithout(short element)
newWithout in interface ImmutableShortCollectionnewWithout in interface ImmutableShortSetpublic ImmutableShortSet newWithAll(ShortIterable elements)
newWithAll in interface ImmutableShortCollectionnewWithAll in interface ImmutableShortSetpublic ImmutableShortSet newWithoutAll(ShortIterable elements)
newWithoutAll in interface ImmutableShortCollectionnewWithoutAll in interface ImmutableShortSetpublic ShortSet freeze()
ShortSetpublic ImmutableShortSet toImmutable()
ShortSettoImmutable in interface ShortSetpublic RichIterable<ShortIterable> chunk(int size)
ShortIterablechunk in interface ShortIterablesize - the number of elements per chunkRichIterable containing ShortIterables of size size, except the last will be
truncated if the elements don't divide evenly.Copyright © 2004–2019. All rights reserved.