CharIterable, ImmutableCharCollection, PrimitiveIterable, CharSet, ImmutableCharSetpublic abstract class AbstractImmutableCharSet extends AbstractCharSet implements ImmutableCharSet
| Constructor | Description |
|---|---|
AbstractImmutableCharSet() |
| Modifier and Type | Method | Description |
|---|---|---|
RichIterable<CharIterable> |
chunk(int size) |
Partitions elements in fixed size chunks.
|
CharSet |
freeze() |
Returns a frozen copy of this set.
|
ImmutableCharSet |
newWith(char element) |
|
ImmutableCharSet |
newWithAll(CharIterable elements) |
|
ImmutableCharSet |
newWithout(char element) |
|
ImmutableCharSet |
newWithoutAll(CharIterable elements) |
|
ImmutableCharSet |
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, charIterator, 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, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListcollect, reject, select, tapappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic ImmutableCharSet newWith(char element)
newWith in interface ImmutableCharCollectionnewWith in interface ImmutableCharSetpublic ImmutableCharSet newWithout(char element)
newWithout in interface ImmutableCharCollectionnewWithout in interface ImmutableCharSetpublic ImmutableCharSet newWithAll(CharIterable elements)
newWithAll in interface ImmutableCharCollectionnewWithAll in interface ImmutableCharSetpublic ImmutableCharSet newWithoutAll(CharIterable elements)
newWithoutAll in interface ImmutableCharCollectionnewWithoutAll in interface ImmutableCharSetpublic CharSet freeze()
CharSetpublic ImmutableCharSet toImmutable()
CharSettoImmutable in interface CharSetpublic RichIterable<CharIterable> chunk(int size)
CharIterablechunk in interface CharIterablesize - the number of elements per chunkRichIterable containing CharIterables of size size, except the last will be
truncated if the elements don't divide evenly.Copyright © 2004–2019. All rights reserved.