public abstract class AbstractMutableCharKeySet extends Object implements MutableCharSet, Externalizable
| Constructor and Description |
|---|
AbstractMutableCharKeySet() |
difference, freeze, intersect, newEmpty, symmetricDifference, tap, unioncharIterator, removeIf, retainAll, retainAllisProperSubsetOf, isSubsetOfaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBypublic void each(CharProcedure procedure)
each in interface CharIterablepublic int count(CharPredicate predicate)
count in interface CharIterablepublic boolean anySatisfy(CharPredicate predicate)
anySatisfy in interface CharIterablepublic boolean allSatisfy(CharPredicate predicate)
allSatisfy in interface CharIterablepublic boolean add(char element)
add in interface MutableCharCollectionpublic boolean addAll(char... source)
addAll in interface MutableCharCollectionpublic boolean addAll(CharIterable source)
addAll in interface MutableCharCollectionpublic MutableCharSet select(CharPredicate predicate)
select in interface CharIterableselect in interface MutableCharCollectionselect in interface CharSetselect in interface MutableCharSetpublic MutableCharSet reject(CharPredicate predicate)
reject in interface CharIterablereject in interface MutableCharCollectionreject in interface CharSetreject in interface MutableCharSetpublic MutableCharSet with(char element)
with in interface MutableCharCollectionwith in interface MutableCharSetpublic MutableCharSet without(char element)
without in interface MutableCharCollectionwithout in interface MutableCharSetpublic MutableCharSet withAll(CharIterable elements)
withAll in interface MutableCharCollectionwithAll in interface MutableCharSetpublic MutableCharSet withoutAll(CharIterable elements)
withoutAll in interface MutableCharCollectionwithoutAll in interface MutableCharSetpublic <V> MutableSet<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharIterablecollect in interface MutableCharCollectioncollect in interface CharSetcollect in interface MutableCharSetpublic boolean remove(char key)
remove in interface MutableCharCollectionpublic boolean removeAll(CharIterable source)
removeAll in interface MutableCharCollectionpublic boolean removeAll(char... source)
removeAll in interface MutableCharCollectionpublic void clear()
clear in interface MutableCharCollectionpublic char detectIfNone(CharPredicate predicate, char ifNone)
detectIfNone in interface CharIterablepublic MutableCharSet asUnmodifiable()
asUnmodifiable in interface MutableCharCollectionasUnmodifiable in interface MutableCharSetpublic MutableCharSet asSynchronized()
asSynchronized in interface MutableCharCollectionasSynchronized in interface MutableCharSetpublic long sum()
sum in interface CharIterablepublic char max()
max in interface CharIterablepublic char maxIfEmpty(char defaultValue)
maxIfEmpty in interface CharIterablepublic char min()
min in interface CharIterablepublic char minIfEmpty(char defaultValue)
minIfEmpty in interface CharIterablepublic double average()
average in interface CharIterablepublic double median()
median in interface CharIterablepublic char[] toSortedArray()
toSortedArray in interface CharIterablepublic MutableCharList toSortedList()
toSortedList in interface CharIterablepublic char[] toArray()
toArray in interface CharIterablepublic char[] toArray(char[] result)
toArray in interface CharIterablepublic boolean contains(char value)
contains in interface CharIterablepublic boolean containsAll(char... source)
containsAll in interface CharIterablepublic boolean containsAll(CharIterable source)
containsAll in interface CharIterablepublic LazyIterable<CharCharPair> cartesianProduct(CharSet set)
cartesianProduct in interface CharSetpublic MutableCharList toList()
toList in interface CharIterablepublic MutableCharSet toSet()
toSet in interface CharIterablepublic MutableCharBag toBag()
toBag in interface CharIterablepublic LazyCharIterable asLazy()
asLazy in interface CharIterablepublic <T> T injectInto(T injectedValue,
ObjectCharToObjectFunction<? super T,? extends T> function)
injectInto in interface CharIterablepublic ImmutableCharSet toImmutable()
toImmutable in interface MutableCharCollectiontoImmutable in interface CharSettoImmutable in interface MutableCharSetpublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic RichIterable<CharIterable> chunk(int size)
chunk in interface CharIterablepublic Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2004–2022. All rights reserved.