public abstract class AbstractMutableShortKeySet extends Object implements MutableShortSet, Externalizable
| Constructor and Description |
|---|
AbstractMutableShortKeySet() |
difference, freeze, intersect, newEmpty, symmetricDifference, tap, unionremoveIf, retainAll, retainAll, shortIteratorisProperSubsetOf, 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(ShortProcedure procedure)
each in interface ShortIterablepublic int count(ShortPredicate predicate)
count in interface ShortIterablepublic boolean anySatisfy(ShortPredicate predicate)
anySatisfy in interface ShortIterablepublic boolean allSatisfy(ShortPredicate predicate)
allSatisfy in interface ShortIterablepublic boolean add(short element)
add in interface MutableShortCollectionpublic boolean addAll(short... source)
addAll in interface MutableShortCollectionpublic boolean addAll(ShortIterable source)
addAll in interface MutableShortCollectionpublic MutableShortSet select(ShortPredicate predicate)
select in interface MutableShortCollectionselect in interface MutableShortSetselect in interface ShortSetselect in interface ShortIterablepublic MutableShortSet reject(ShortPredicate predicate)
reject in interface MutableShortCollectionreject in interface MutableShortSetreject in interface ShortSetreject in interface ShortIterablepublic MutableShortSet with(short element)
with in interface MutableShortCollectionwith in interface MutableShortSetpublic MutableShortSet without(short element)
without in interface MutableShortCollectionwithout in interface MutableShortSetpublic MutableShortSet withAll(ShortIterable elements)
withAll in interface MutableShortCollectionwithAll in interface MutableShortSetpublic MutableShortSet withoutAll(ShortIterable elements)
withoutAll in interface MutableShortCollectionwithoutAll in interface MutableShortSetpublic <V> MutableSet<V> collect(ShortToObjectFunction<? extends V> function)
collect in interface MutableShortCollectioncollect in interface MutableShortSetcollect in interface ShortSetcollect in interface ShortIterablepublic boolean remove(short key)
remove in interface MutableShortCollectionpublic boolean removeAll(ShortIterable source)
removeAll in interface MutableShortCollectionpublic boolean removeAll(short... source)
removeAll in interface MutableShortCollectionpublic void clear()
clear in interface MutableShortCollectionpublic short detectIfNone(ShortPredicate predicate, short ifNone)
detectIfNone in interface ShortIterablepublic MutableShortSet asUnmodifiable()
asUnmodifiable in interface MutableShortCollectionasUnmodifiable in interface MutableShortSetpublic MutableShortSet asSynchronized()
asSynchronized in interface MutableShortCollectionasSynchronized in interface MutableShortSetpublic long sum()
sum in interface ShortIterablepublic short max()
max in interface ShortIterablepublic short maxIfEmpty(short defaultValue)
maxIfEmpty in interface ShortIterablepublic short min()
min in interface ShortIterablepublic short minIfEmpty(short defaultValue)
minIfEmpty in interface ShortIterablepublic double average()
average in interface ShortIterablepublic double median()
median in interface ShortIterablepublic short[] toSortedArray()
toSortedArray in interface ShortIterablepublic MutableShortList toSortedList()
toSortedList in interface ShortIterablepublic short[] toArray()
toArray in interface ShortIterablepublic short[] toArray(short[] result)
toArray in interface ShortIterablepublic boolean contains(short value)
contains in interface ShortIterablepublic boolean containsAll(short... source)
containsAll in interface ShortIterablepublic boolean containsAll(ShortIterable source)
containsAll in interface ShortIterablepublic LazyIterable<ShortShortPair> cartesianProduct(ShortSet set)
cartesianProduct in interface ShortSetpublic MutableShortList toList()
toList in interface ShortIterablepublic MutableShortSet toSet()
toSet in interface ShortIterablepublic MutableShortBag toBag()
toBag in interface ShortIterablepublic LazyShortIterable asLazy()
asLazy in interface ShortIterablepublic <T> T injectInto(T injectedValue,
ObjectShortToObjectFunction<? super T,? extends T> function)
injectInto in interface ShortIterablepublic ImmutableShortSet toImmutable()
toImmutable in interface MutableShortCollectiontoImmutable in interface MutableShortSettoImmutable in interface ShortSetpublic 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<ShortIterable> chunk(int size)
chunk in interface ShortIterablepublic 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.