Class AbstractImmutableFloatSet
java.lang.Object
org.eclipse.collections.impl.primitive.AbstractFloatIterable
org.eclipse.collections.impl.set.primitive.AbstractFloatSet
org.eclipse.collections.impl.set.immutable.primitive.AbstractImmutableFloatSet
- All Implemented Interfaces:
ImmutableFloatCollection, FloatIterable, PrimitiveIterable, FloatSet, ImmutableFloatSet
- Direct Known Subclasses:
FloatHashSet.ImmutableFloatHashSet, ImmutableFloatFloatMapKeySet, ImmutableFloatMapKeySet
public abstract class AbstractImmutableFloatSet
extends AbstractFloatSet
implements ImmutableFloatSet
This file was automatically generated from template file abstractImmutablePrimitiveSet.stg.
- Since:
- 6.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchunk(int size) Partitions elements in fixed size chunks.freeze()Returns a frozen copy of this set.newWith(float element) newWithAll(FloatIterable elements) newWithout(float element) newWithoutAll(FloatIterable elements) Returns an immutable copy of this set.Methods inherited from class AbstractFloatSet
cartesianProduct, equals, hashCodeMethods inherited from class AbstractFloatIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringMethods inherited from interface FloatIterable
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface FloatSet
cartesianProduct, collect, equals, hashCode, isProperSubsetOf, isSubsetOf, reject, select, tapMethods inherited from interface ImmutableFloatSet
collect, difference, intersect, reject, select, symmetricDifference, tap, unionMethods inherited from interface PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Constructor Details
-
AbstractImmutableFloatSet
public AbstractImmutableFloatSet()
-
-
Method Details
-
newWith
- Specified by:
newWithin interfaceImmutableFloatCollection- Specified by:
newWithin interfaceImmutableFloatSet
-
newWithout
- Specified by:
newWithoutin interfaceImmutableFloatCollection- Specified by:
newWithoutin interfaceImmutableFloatSet
-
newWithAll
- Specified by:
newWithAllin interfaceImmutableFloatCollection- Specified by:
newWithAllin interfaceImmutableFloatSet
-
newWithoutAll
- Specified by:
newWithoutAllin interfaceImmutableFloatCollection- Specified by:
newWithoutAllin interfaceImmutableFloatSet
-
freeze
-
toImmutable
Description copied from interface:FloatSetReturns an immutable copy of this set. If the set is immutable, it returns itself.- Specified by:
toImmutablein interfaceFloatSet
-
chunk
Description copied from interface:FloatIterablePartitions elements in fixed size chunks.- Specified by:
chunkin interfaceFloatIterable- Parameters:
size- the number of elements per chunk- Returns:
- A
RichIterablecontainingFloatIterables of sizesize, except the last will be truncated if the elements don't divide evenly.
-