CharIterable
, PrimitiveIterable
ImmutableCharSet
, MutableCharSet
AbstractCharSet
, AbstractImmutableCharSet
, AbstractMutableCharKeySet
, CharHashSet
, SynchronizedCharSet
, UnmodifiableCharSet
public interface CharSet extends CharIterable
Modifier and Type | Method | Description |
---|---|---|
<V> SetIterable<V> |
collect(CharToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Set.equals(Object) . |
CharSet |
freeze() |
Returns a frozen copy of this set.
|
int |
hashCode() |
Follows the same general contract as
Set.hashCode() . |
CharSet |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
CharSet |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default CharSet |
tap(CharProcedure procedure) |
|
ImmutableCharSet |
toImmutable() |
Returns an immutable copy of this set.
|
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
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
default CharSet tap(CharProcedure procedure)
tap
in interface CharIterable
boolean equals(java.lang.Object o)
Set.equals(Object)
.equals
in class java.lang.Object
int hashCode()
Set.hashCode()
.hashCode
in class java.lang.Object
CharSet select(CharPredicate predicate)
CharIterable
select
in interface CharIterable
CharSet reject(CharPredicate predicate)
CharIterable
reject
in interface CharIterable
<V> SetIterable<V> collect(CharToObjectFunction<? extends V> function)
CharIterable
collect
in interface CharIterable
CharSet freeze()
ImmutableCharSet toImmutable()
Copyright © 2004–2017. All rights reserved.