public abstract class AbstractMutableLongKeySet extends Object implements MutableLongSet, Externalizable
| Constructor and Description |
|---|
AbstractMutableLongKeySet() |
difference, freeze, intersect, newEmpty, symmetricDifference, tap, unionlongIterator, 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(LongProcedure procedure)
each in interface LongIterablepublic int count(LongPredicate predicate)
count in interface LongIterablepublic boolean anySatisfy(LongPredicate predicate)
anySatisfy in interface LongIterablepublic boolean allSatisfy(LongPredicate predicate)
allSatisfy in interface LongIterablepublic boolean add(long element)
add in interface MutableLongCollectionpublic boolean addAll(long... source)
addAll in interface MutableLongCollectionpublic boolean addAll(LongIterable source)
addAll in interface MutableLongCollectionpublic MutableLongSet select(LongPredicate predicate)
select in interface MutableLongCollectionselect in interface LongIterableselect in interface LongSetselect in interface MutableLongSetpublic MutableLongSet reject(LongPredicate predicate)
reject in interface MutableLongCollectionreject in interface LongIterablereject in interface LongSetreject in interface MutableLongSetpublic MutableLongSet with(long element)
with in interface MutableLongCollectionwith in interface MutableLongSetpublic MutableLongSet without(long element)
without in interface MutableLongCollectionwithout in interface MutableLongSetpublic MutableLongSet withAll(LongIterable elements)
withAll in interface MutableLongCollectionwithAll in interface MutableLongSetpublic MutableLongSet withoutAll(LongIterable elements)
withoutAll in interface MutableLongCollectionwithoutAll in interface MutableLongSetpublic <V> MutableSet<V> collect(LongToObjectFunction<? extends V> function)
collect in interface MutableLongCollectioncollect in interface LongIterablecollect in interface LongSetcollect in interface MutableLongSetpublic boolean remove(long key)
remove in interface MutableLongCollectionpublic boolean removeAll(LongIterable source)
removeAll in interface MutableLongCollectionpublic boolean removeAll(long... source)
removeAll in interface MutableLongCollectionpublic void clear()
clear in interface MutableLongCollectionpublic long detectIfNone(LongPredicate predicate, long ifNone)
detectIfNone in interface LongIterablepublic MutableLongSet asUnmodifiable()
asUnmodifiable in interface MutableLongCollectionasUnmodifiable in interface MutableLongSetpublic MutableLongSet asSynchronized()
asSynchronized in interface MutableLongCollectionasSynchronized in interface MutableLongSetpublic long sum()
sum in interface LongIterablepublic long max()
max in interface LongIterablepublic long maxIfEmpty(long defaultValue)
maxIfEmpty in interface LongIterablepublic long min()
min in interface LongIterablepublic long minIfEmpty(long defaultValue)
minIfEmpty in interface LongIterablepublic double average()
average in interface LongIterablepublic double median()
median in interface LongIterablepublic long[] toSortedArray()
toSortedArray in interface LongIterablepublic MutableLongList toSortedList()
toSortedList in interface LongIterablepublic long[] toArray()
toArray in interface LongIterablepublic long[] toArray(long[] result)
toArray in interface LongIterablepublic boolean contains(long value)
contains in interface LongIterablepublic boolean containsAll(long... source)
containsAll in interface LongIterablepublic boolean containsAll(LongIterable source)
containsAll in interface LongIterablepublic LazyIterable<LongLongPair> cartesianProduct(LongSet set)
cartesianProduct in interface LongSetpublic MutableLongList toList()
toList in interface LongIterablepublic MutableLongSet toSet()
toSet in interface LongIterablepublic MutableLongBag toBag()
toBag in interface LongIterablepublic LazyLongIterable asLazy()
asLazy in interface LongIterablepublic <T> T injectInto(T injectedValue,
ObjectLongToObjectFunction<? super T,? extends T> function)
injectInto in interface LongIterablepublic ImmutableLongSet toImmutable()
toImmutable in interface MutableLongCollectiontoImmutable in interface LongSettoImmutable in interface MutableLongSetpublic 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<LongIterable> chunk(int size)
chunk in interface LongIterablepublic 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.