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
public abstract class AbstractImmutableFloatSet extends AbstractFloatSet implements ImmutableFloatSet
This file was automatically generated from template file abstractImmutablePrimitiveSet.stg.
- Since:
- 6.0.
-
Constructor Summary
Constructors Constructor Description AbstractImmutableFloatSet() -
Method Summary
Modifier and Type Method Description RichIterable<FloatIterable>chunk(int size)Partitions elements in fixed size chunks.FloatSetfreeze()Returns a frozen copy of this set.ImmutableFloatSetnewWith(float element)ImmutableFloatSetnewWithAll(FloatIterable elements)ImmutableFloatSetnewWithout(float element)ImmutableFloatSetnewWithoutAll(FloatIterable elements)ImmutableFloatSettoImmutable()Returns an immutable copy of this set.Methods inherited from class org.eclipse.collections.impl.set.primitive.AbstractFloatSet
equals, hashCodeMethods inherited from class org.eclipse.collections.impl.primitive.AbstractFloatIterable
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringMethods inherited from interface org.eclipse.collections.api.FloatIterable
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedListMethods inherited from interface org.eclipse.collections.api.set.primitive.FloatSet
collect, equals, hashCode, reject, select, tapMethods inherited from interface org.eclipse.collections.api.set.primitive.ImmutableFloatSet
collect, reject, select, tapMethods inherited from interface org.eclipse.collections.api.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
Description copied from interface:FloatSetReturns a frozen copy of this set. If the set is frozen, it returns itself. A frozen copy is the same thing as an immutable copy without safe-publish guarantees. -
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.
-