Class BoxedMutableDoubleSet
java.lang.Object
org.eclipse.collections.impl.AbstractRichIterable<Double>
org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection<Double>
org.eclipse.collections.impl.set.mutable.AbstractMutableSet<Double>
org.eclipse.collections.impl.set.mutable.primitive.BoxedMutableDoubleSet
- All Implemented Interfaces:
Cloneable, Iterable<Double>, Collection<Double>, Set<Double>, MutableCollection<Double>, InternalIterable<Double>, RichIterable<Double>, MutableSet<Double>, MutableSetIterable<Double>, SetIterable<Double>, UnsortedSetIterable<Double>
A boxed view of a
MutableDoubleSet.
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanasParallel(ExecutorService executorService, int batchSize) Returns a parallel iterable of this SetIterable.voidclear()booleanReturns true if the iterable has an element which responds true to element.equals(object).voidThe procedure is executed for each element in the iterable.booleanFollows the same general contract asSet.equals(Object).getFirst()Returns the first element of an iterable.getLast()Returns the last element of an iterable.inthashCode()Follows the same general contract asSet.hashCode().iterator()booleanintsize()Returns the number of items in this iterable.Methods inherited from class AbstractMutableSet
asSynchronized, asUnmodifiable, cartesianProduct, clone, collect, collectIf, collectWith, difference, differenceInto, flatCollect, groupBy, groupByEach, intersect, intersectInto, isProperSubsetOf, isSubsetOf, newEmpty, newEmptySameSize, partition, partitionWith, powerSet, reject, rejectWith, removeAllIterable, select, selectInstancesOf, selectWith, symmetricDifference, symmetricDifferenceInto, tap, toImmutable, union, unionInto, zip, zipWithIndexMethods inherited from class AbstractMutableCollection
addAll, addAllIterable, chunk, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, reduce, removeAll, removeIf, removeIfWith, retainAll, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongMethods inherited from class 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, toBag, toBiMap, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface InternalIterable
forEach, forEachWith, forEachWithIndexMethods inherited from interface 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, toArray, toArrayMethods inherited from interface 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, zipWithIndexMethods inherited from interface MutableSetIterable
toArray, toArrayMethods inherited from interface 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, reduceBy, reduceBy, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, 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, zipWithIndexMethods inherited from interface Set
addAll, containsAll, isEmpty, removeAll, retainAll, spliteratorMethods inherited from interface SetIterable
cartesianProduct, differenceInto, intersectInto, isProperSubsetOf, isSubsetOf, symmetricDifferenceInto, unionInto
-
Field Details
-
delegate
-
-
Constructor Details
-
BoxedMutableDoubleSet
-
-
Method Details
-
size
public int size()Description copied from interface:RichIterableReturns the number of items in this iterable.- Specified by:
sizein interfaceCollection<Double>- Specified by:
sizein interfaceRichIterable<Double>- Specified by:
sizein interfaceSet<Double>
-
getFirst
Description copied from interface:RichIterableReturns the first element of an iterable. In the case of a List it is the element at the first index. In the case of any other Collection, it is the first element that would be returned during an iteration. If the iterable is empty, null is returned. If null is a valid element of the container, then a developer would need to check to see if the iterable is empty to validate that a null result was not due to the container being empty.The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use this method, the first element could be any element from the Set.
- Specified by:
getFirstin interfaceRichIterable<Double>
-
getLast
Description copied from interface:RichIterableReturns the last element of an iterable. In the case of a List it is the element at the last index. In the case of any other Collection, it is the last element that would be returned during an iteration. If the iterable is empty, null is returned. If null is a valid element of the container, then a developer would need to check to see if the iterable is empty to validate that a null result was not due to the container being empty.The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use this method, the last element could be any element from the Set.
- Specified by:
getLastin interfaceRichIterable<Double>
-
each
Description copied from interface:RichIterableThe procedure is executed for each element in the iterable.Example using a Java 8 lambda expression:
people.each(person -> LOGGER.info(person.getName()));
This method is a variant ofInternalIterable.forEach(Procedure)that has a signature conflict withIterable.forEach(java.util.function.Consumer).- Specified by:
eachin interfaceRichIterable<Double>- See Also:
-
add
- Specified by:
addin interfaceCollection<Double>- Specified by:
addin interfaceSet<Double>- Overrides:
addin classAbstractMutableCollection<Double>
-
contains
Description copied from interface:RichIterableReturns true if the iterable has an element which responds true to element.equals(object).- Specified by:
containsin interfaceCollection<Double>- Specified by:
containsin interfaceRichIterable<Double>- Specified by:
containsin interfaceSet<Double>- Overrides:
containsin classAbstractRichIterable<Double>
-
remove
- Specified by:
removein interfaceCollection<Double>- Specified by:
removein interfaceSet<Double>- Overrides:
removein classAbstractMutableCollection<Double>
-
clear
-
asParallel
public ParallelUnsortedSetIterable<Double> asParallel(ExecutorService executorService, int batchSize) Description copied from interface:SetIterableReturns a parallel iterable of this SetIterable.- Specified by:
asParallelin interfaceSetIterable<Double>- Specified by:
asParallelin interfaceUnsortedSetIterable<Double>
-
hashCode
public int hashCode()Description copied from interface:SetIterableFollows the same general contract asSet.hashCode(). -
equals
Description copied from interface:SetIterableFollows the same general contract asSet.equals(Object). -
iterator
-