Class BoxedMutableShortSet
- java.lang.Object
-
- org.eclipse.collections.impl.AbstractRichIterable<T>
-
- org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection<T>
-
- org.eclipse.collections.impl.set.mutable.AbstractMutableSet<Short>
-
- org.eclipse.collections.impl.set.mutable.primitive.BoxedMutableShortSet
-
- All Implemented Interfaces:
Cloneable
,Iterable<Short>
,Collection<Short>
,Set<Short>
,MutableCollection<Short>
,InternalIterable<Short>
,RichIterable<Short>
,MutableSet<Short>
,MutableSetIterable<Short>
,SetIterable<Short>
,UnsortedSetIterable<Short>
public class BoxedMutableShortSet extends AbstractMutableSet<Short> implements MutableSet<Short>
A boxed view of aMutableShortSet
. This is for scenarios where optimization is not a consideration and therefore no further methods will be optimized.This file was automatically generated from template file boxedPrimitiveSet.stg.
- Since:
- 12.0
-
-
Constructor Summary
Constructors Constructor Description BoxedMutableShortSet(MutableShortSet delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Short item)
ParallelUnsortedSetIterable<Short>
asParallel(ExecutorService executorService, int batchSize)
void
clear()
boolean
contains(Object object)
void
each(Procedure<? super Short> procedure)
boolean
equals(Object object)
Short
getFirst()
Short
getLast()
int
hashCode()
Iterator<Short>
iterator()
boolean
remove(Object object)
int
size()
-
Methods inherited from class org.eclipse.collections.impl.set.mutable.AbstractMutableSet
asSynchronized, asUnmodifiable, cartesianProduct, clone, collect, collectIf, collectWith, difference, differenceInto, flatCollect, groupBy, groupByEach, intersect, intersectInto, isProperSubsetOf, isSubsetOf, newEmpty, partition, partitionWith, powerSet, reject, rejectWith, removeAllIterable, select, selectInstancesOf, selectWith, symmetricDifference, symmetricDifferenceInto, tap, toImmutable, union, unionInto, zip, zipWithIndex
-
Methods inherited from class org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection
addAll, addAllIterable, chunk, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, reduce, removeAll, removeIf, removeIfWith, retainAll, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLong
-
Methods inherited from class org.eclipse.collections.impl.AbstractRichIterable
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, asLazy, collect, collectIf, collectWith, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectOptional, detectWith, detectWithIfNone, detectWithOptional, flatCollect, forEach, forEachWith, forEachWithIndex, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, reject, rejectWith, select, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndex
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEach, forEachWith, forEachWithIndex
-
Methods inherited from interface org.eclipse.collections.api.collection.MutableCollection
addAllIterable, aggregateBy, aggregateInPlaceBy, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, countBy, countByEach, countByWith, flatCollectWith, groupByUniqueKey, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLong
-
Methods inherited from interface org.eclipse.collections.api.set.MutableSet
asSynchronized, asUnmodifiable, clone, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, difference, flatCollect, flatCollectWith, groupBy, groupByEach, intersect, newEmpty, partition, partitionWith, powerSet, reject, rejectWith, select, selectInstancesOf, selectWith, symmetricDifference, tap, toImmutable, toImmutableSet, union, with, withAll, without, withoutAll, zip, zipWithIndex
-
Methods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndex
-
Methods inherited from interface java.util.Set
addAll, containsAll, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
-
Methods inherited from interface org.eclipse.collections.api.set.SetIterable
cartesianProduct, differenceInto, intersectInto, isProperSubsetOf, isSubsetOf, symmetricDifferenceInto, unionInto
-
-
-
-
Constructor Detail
-
BoxedMutableShortSet
public BoxedMutableShortSet(MutableShortSet delegate)
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceCollection<Short>
- Specified by:
size
in interfaceRichIterable<Short>
- Specified by:
size
in interfaceSet<Short>
-
getFirst
public Short getFirst()
- Specified by:
getFirst
in interfaceRichIterable<Short>
-
getLast
public Short getLast()
- Specified by:
getLast
in interfaceRichIterable<Short>
-
each
public void each(Procedure<? super Short> procedure)
- Specified by:
each
in interfaceRichIterable<Short>
-
add
public boolean add(Short item)
- Specified by:
add
in interfaceCollection<Short>
- Specified by:
add
in interfaceSet<Short>
- Overrides:
add
in classAbstractMutableCollection<Short>
-
contains
public boolean contains(Object object)
- Specified by:
contains
in interfaceCollection<Short>
- Specified by:
contains
in interfaceRichIterable<Short>
- Specified by:
contains
in interfaceSet<Short>
- Overrides:
contains
in classAbstractRichIterable<Short>
-
remove
public boolean remove(Object object)
- Specified by:
remove
in interfaceCollection<Short>
- Specified by:
remove
in interfaceSet<Short>
- Overrides:
remove
in classAbstractMutableCollection<Short>
-
clear
public void clear()
-
asParallel
public ParallelUnsortedSetIterable<Short> asParallel(ExecutorService executorService, int batchSize)
- Specified by:
asParallel
in interfaceSetIterable<Short>
- Specified by:
asParallel
in interfaceUnsortedSetIterable<Short>
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object object)
-
-