Class LongShortHashMap.ValuesCollection
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableShortValuesMap.AbstractShortValuesCollection
-
- org.eclipse.collections.impl.map.mutable.primitive.LongShortHashMap.ValuesCollection
-
- All Implemented Interfaces:
MutableShortCollection
,PrimitiveIterable
,ShortIterable
- Enclosing class:
- LongShortHashMap
private class LongShortHashMap.ValuesCollection extends AbstractMutableShortValuesMap.AbstractShortValuesCollection
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ValuesCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortCollection
newEmpty()
Creates a new empty mutable version of the same collection type.boolean
remove(short item)
boolean
retainAll(ShortIterable source)
MutableShortIterator
shortIterator()
Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.-
Methods inherited from class org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableShortValuesMap.AbstractShortValuesCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, asSynchronized, asUnmodifiable, average, chunk, clear, collect, contains, containsAll, containsAll, count, detectIfNone, each, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reject, removeAll, removeAll, retainAll, select, size, sum, toArray, toArray, toBag, toImmutable, toList, toSet, toSortedArray, toSortedList, with, withAll, without, withoutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableShortCollection
removeIf, tap
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
toString
-
Methods inherited from interface org.eclipse.collections.api.ShortIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Method Detail
-
shortIterator
public MutableShortIterator shortIterator()
Description copied from interface:ShortIterable
Returns a primitive iterator that can be used to iterate over the ShortIterable in an imperative style.
-
remove
public boolean remove(short item)
-
retainAll
public boolean retainAll(ShortIterable source)
- See Also:
Collection.retainAll(Collection)
-
newEmpty
public MutableShortCollection newEmpty()
Description copied from interface:MutableShortCollection
Creates a new empty mutable version of the same collection type.- Since:
- 9.2.
-
-