public abstract class AbstractImmutableCharSet extends AbstractCharSet implements ImmutableCharSet
Constructor and Description |
---|
AbstractImmutableCharSet() |
Modifier and Type | Method and 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.
|
equals, hashCode
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
collect, reject, select
allSatisfy, anySatisfy, asLazy, average, charIterator, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
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–2016. All rights reserved.