CharIterable
, ImmutableCharCollection
, PrimitiveIterable
, CharSet
, ImmutableCharSet
public abstract class AbstractImmutableCharSet extends AbstractCharSet implements ImmutableCharSet
Constructor | Description |
---|---|
AbstractImmutableCharSet() |
Modifier and Type | Method | Description |
---|---|---|
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, toString
equals, hashCode
allSatisfy, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, reject, select, tap
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public ImmutableCharSet newWith(char element)
newWith
in interface ImmutableCharCollection
newWith
in interface ImmutableCharSet
public ImmutableCharSet newWithout(char element)
newWithout
in interface ImmutableCharCollection
newWithout
in interface ImmutableCharSet
public ImmutableCharSet newWithAll(CharIterable elements)
newWithAll
in interface ImmutableCharCollection
newWithAll
in interface ImmutableCharSet
public ImmutableCharSet newWithoutAll(CharIterable elements)
newWithoutAll
in interface ImmutableCharCollection
newWithoutAll
in interface ImmutableCharSet
public CharSet freeze()
CharSet
public ImmutableCharSet toImmutable()
CharSet
toImmutable
in interface CharSet
Copyright © 2004–2018. All rights reserved.