Class AbstractMutableShortValuesMap
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractShortIterable
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableShortValuesMap
-
- All Implemented Interfaces:
MutableShortValuesMap,ShortValuesMap,PrimitiveIterable,ShortIterable
- Direct Known Subclasses:
ByteShortHashMap,CharShortHashMap,DoubleShortHashMap,FloatShortHashMap,IntShortHashMap,LongShortHashMap,ShortShortHashMap
public abstract class AbstractMutableShortValuesMap extends AbstractShortIterable implements MutableShortValuesMap
This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.- Since:
- 6.0.
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableShortValuesMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(ShortPredicate predicate)booleananySatisfy(ShortPredicate predicate)voidappendString(Appendable appendable, String start, String separator, String end)RichIterable<ShortIterable>chunk(int size)<V> MutableBag<V>collect(ShortToObjectFunction<? extends V> function)booleancontains(short value)booleancontainsAll(ShortIterable source)booleancontainsValue(short value)intcount(ShortPredicate predicate)shortdetectIfNone(ShortPredicate predicate, short value)voideach(ShortProcedure procedure)voidforEachValue(ShortProcedure procedure)booleanisEmpty()shortmax()shortmin()booleannotEmpty()MutableShortBagreject(ShortPredicate predicate)MutableShortBagselect(ShortPredicate predicate)intsize()longsum()short[]toArray()short[]toArray(short[] target)-
Methods inherited from class org.eclipse.collections.impl.primitive.AbstractShortIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableShortValuesMap
clear, shortIterator
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, makeString, makeString, makeString, toString
-
Methods inherited from interface org.eclipse.collections.api.ShortIterable
asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, maxIfEmpty, median, medianIfEmpty, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.ShortValuesMap
tap, values
-
-
-
-
Method Detail
-
contains
public boolean contains(short value)
- Specified by:
containsin interfaceShortIterable
-
containsAll
public boolean containsAll(ShortIterable source)
- Specified by:
containsAllin interfaceShortIterable
-
max
public short max()
- Specified by:
maxin interfaceShortIterable
-
min
public short min()
- Specified by:
minin interfaceShortIterable
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable
-
each
public void each(ShortProcedure procedure)
- Specified by:
eachin interfaceShortIterable- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
toArray
public short[] toArray()
- Specified by:
toArrayin interfaceShortIterable
-
toArray
public short[] toArray(short[] target)
- Specified by:
toArrayin interfaceShortIterable
-
select
public MutableShortBag select(ShortPredicate predicate)
- Specified by:
selectin interfaceMutableShortValuesMap- Specified by:
selectin interfaceShortIterable- Specified by:
selectin interfaceShortValuesMap
-
reject
public MutableShortBag reject(ShortPredicate predicate)
- Specified by:
rejectin interfaceMutableShortValuesMap- Specified by:
rejectin interfaceShortIterable- Specified by:
rejectin interfaceShortValuesMap
-
collect
public <V> MutableBag<V> collect(ShortToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceMutableShortValuesMap- Specified by:
collectin interfaceShortIterable- Specified by:
collectin interfaceShortValuesMap
-
detectIfNone
public short detectIfNone(ShortPredicate predicate, short value)
- Specified by:
detectIfNonein interfaceShortIterable
-
count
public int count(ShortPredicate predicate)
- Specified by:
countin interfaceShortIterable
-
anySatisfy
public boolean anySatisfy(ShortPredicate predicate)
- Specified by:
anySatisfyin interfaceShortIterable
-
allSatisfy
public boolean allSatisfy(ShortPredicate predicate)
- Specified by:
allSatisfyin interfaceShortIterable
-
chunk
public RichIterable<ShortIterable> chunk(int size)
- Specified by:
chunkin interfaceShortIterable
-
sum
public long sum()
- Specified by:
sumin interfaceShortIterable
-
containsValue
public boolean containsValue(short value)
- Specified by:
containsValuein interfaceShortValuesMap
-
forEachValue
public void forEachValue(ShortProcedure procedure)
- Specified by:
forEachValuein interfaceShortValuesMap
-
-