Class BoxedMutableIntSet
- java.lang.Object
-
- org.eclipse.collections.impl.AbstractRichIterable<T>
-
- org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection<T>
-
- org.eclipse.collections.impl.set.mutable.AbstractMutableSet<Integer>
-
- org.eclipse.collections.impl.set.mutable.primitive.BoxedMutableIntSet
-
- All Implemented Interfaces:
Cloneable,Iterable<Integer>,Collection<Integer>,Set<Integer>,MutableCollection<Integer>,InternalIterable<Integer>,RichIterable<Integer>,MutableSet<Integer>,MutableSetIterable<Integer>,SetIterable<Integer>,UnsortedSetIterable<Integer>
public class BoxedMutableIntSet extends AbstractMutableSet<Integer> implements MutableSet<Integer>
A boxed view of aMutableIntSet. 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 BoxedMutableIntSet(MutableIntSet delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Integer item)ParallelUnsortedSetIterable<Integer>asParallel(ExecutorService executorService, int batchSize)voidclear()booleancontains(Object object)voideach(Procedure<? super Integer> procedure)booleanequals(Object object)IntegergetFirst()IntegergetLast()inthashCode()Iterator<Integer>iterator()booleanremove(Object object)intsize()-
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
-
BoxedMutableIntSet
public BoxedMutableIntSet(MutableIntSet delegate)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceCollection<Integer>- Specified by:
sizein interfaceRichIterable<Integer>- Specified by:
sizein interfaceSet<Integer>
-
getFirst
public Integer getFirst()
- Specified by:
getFirstin interfaceRichIterable<Integer>
-
getLast
public Integer getLast()
- Specified by:
getLastin interfaceRichIterable<Integer>
-
each
public void each(Procedure<? super Integer> procedure)
- Specified by:
eachin interfaceRichIterable<Integer>
-
add
public boolean add(Integer item)
- Specified by:
addin interfaceCollection<Integer>- Specified by:
addin interfaceSet<Integer>- Overrides:
addin classAbstractMutableCollection<Integer>
-
contains
public boolean contains(Object object)
- Specified by:
containsin interfaceCollection<Integer>- Specified by:
containsin interfaceRichIterable<Integer>- Specified by:
containsin interfaceSet<Integer>- Overrides:
containsin classAbstractRichIterable<Integer>
-
remove
public boolean remove(Object object)
- Specified by:
removein interfaceCollection<Integer>- Specified by:
removein interfaceSet<Integer>- Overrides:
removein classAbstractMutableCollection<Integer>
-
clear
public void clear()
-
asParallel
public ParallelUnsortedSetIterable<Integer> asParallel(ExecutorService executorService, int batchSize)
- Specified by:
asParallelin interfaceSetIterable<Integer>- Specified by:
asParallelin interfaceUnsortedSetIterable<Integer>
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object object)
-
-