Top Description Fields Constructors Methods
org.eclipse.collections.impl.set.mutable.primitive

public Class UnmodifiableFloatSet

extends AbstractUnmodifiableFloatCollection
implements MutableFloatSet
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.set.primitive.MutableFloatSet, org.eclipse.collections.api.set.primitive.FloatSet, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.MutableFloatCollection
Imports
org.eclipse.collections.api.FloatIterable, .LazyIterable, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.set.MutableSet, org.eclipse.collections.api.set.primitive.ImmutableFloatSet, .FloatSet, .MutableFloatSet, org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection, org.eclipse.collections.api.tuple.primitive.FloatFloatPair, org.eclipse.collections.impl.factory.primitive.FloatSets

This file was automatically generated from template file unmodifiablePrimitiveSet.stg.
Since
3.1.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableFloatSet
public MutableFloatSet
public MutableSet<Float>
public LazyIterable<FloatFloatPair>
cartesianProduct(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.cartesianProduct.

Returns the set whose members are all possible ordered pairs (a, b) where a is a member of this and b is a member of set.

public <V> MutableSet<V>
public boolean
equals(Object otherSet)

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.set.primitive.FloatSet.equals.

Follows the same general contract as Set#equals(Object).

public FloatSet
freeze()

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.freeze.

Returns a frozen copy of this set.

private MutableFloatSet
public int
public MutableFloatSet
public static UnmodifiableFloatSet
of(MutableFloatSet set)

This method will take a MutableFloatSet and wrap it directly in a UnmodifiableFloatSet.

public MutableFloatSet
public MutableFloatSet
public ImmutableFloatSet
public UnmodifiableFloatSet
public UnmodifiableFloatSet
public UnmodifiableFloatSet
public UnmodifiableFloatSet
Inherited from org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection:
addaddAlladdAllallSatisfyanySatisfyappendStringappendStringappendStringasLazyaveragechunkclearcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachfloatIteratorgetFloatCollectioninjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfynotEmptyreducereduceIfEmptyremoveremoveAllremoveAllremoveIfretainAllretainAllsizesumtoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.serialVersionUID.

Constructor Detail

UnmodifiableFloatSetback to summary
public UnmodifiableFloatSet(MutableFloatSet set)

Method Detail

asSynchronizedback to summary
public MutableFloatSet asSynchronized()

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.asSynchronized.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.asSynchronized, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.asSynchronized.

Annotations
@Override
asUnmodifiableback to summary
public MutableFloatSet asUnmodifiable()

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.asUnmodifiable.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.asUnmodifiable, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.asUnmodifiable.

Annotations
@Override
boxedback to summary
public MutableSet<Float> boxed()

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.boxed.

Annotations
@Override
cartesianProductback to summary
public LazyIterable<FloatFloatPair> cartesianProduct(FloatSet set)

Implements org.eclipse.collections.api.set.primitive.FloatSet.cartesianProduct.

Doc from org.eclipse.collections.api.set.primitive.FloatSet.cartesianProduct.

Returns the set whose members are all possible ordered pairs (a, b) where a is a member of this and b is a member of set.

Annotations
@Override
collectback to summary
public <V> MutableSet<V> collect(FloatToObjectFunction<? extends V> function)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.collect.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.collect, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.collect.

Doc from org.eclipse.collections.api.FloatIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
equalsback to summary
public boolean equals(Object otherSet)

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.set.primitive.FloatSet.equals.

Doc from org.eclipse.collections.api.set.primitive.FloatSet.equals.

Follows the same general contract as Set#equals(Object).

Annotations
@Override
freezeback to summary
public FloatSet freeze()

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.freeze.

Doc from org.eclipse.collections.api.set.primitive.MutableFloatSet.freeze.

Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees.

getMutableFloatSetback to summary
private MutableFloatSet getMutableFloatSet()
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Implements org.eclipse.collections.api.set.primitive.FloatSet.hashCode.

Doc from org.eclipse.collections.api.set.primitive.FloatSet.hashCode.

Follows the same general contract as Set#hashCode().

Annotations
@Override
newEmptyback to summary
public MutableFloatSet newEmpty()

Overrides default org.eclipse.collections.api.set.primitive.MutableFloatSet.newEmpty, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.newEmpty.

Doc from org.eclipse.collections.api.set.primitive.MutableFloatSet.newEmpty.

Creates a new empty mutable version of the same Set type.

Since
9.2.
ofback to summary
public static UnmodifiableFloatSet of(MutableFloatSet set)

This method will take a MutableFloatSet and wrap it directly in a UnmodifiableFloatSet.

rejectback to summary
public MutableFloatSet reject(FloatPredicate predicate)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.reject.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.reject, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.reject.

Doc from org.eclipse.collections.api.FloatIterable.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

Annotations
@Override
selectback to summary
public MutableFloatSet select(FloatPredicate predicate)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.select.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.select, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.select.

Doc from org.eclipse.collections.api.FloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

Annotations
@Override
toImmutableback to summary
public ImmutableFloatSet toImmutable()

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.toImmutable.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.toImmutable, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.toImmutable.

Doc from org.eclipse.collections.api.set.primitive.MutableFloatSet.toImmutable.

Returns an immutable copy of this set.

Annotations
@Override
withback to summary
public UnmodifiableFloatSet with(float element)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.with.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.with, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.with.

Annotations
@Override
withAllback to summary
public UnmodifiableFloatSet withAll(FloatIterable elements)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.withAll.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.withAll, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.withAll.

Annotations
@Override
withoutback to summary
public UnmodifiableFloatSet without(float element)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.without.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.without, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.without.

Annotations
@Override
withoutAllback to summary
public UnmodifiableFloatSet withoutAll(FloatIterable elements)

Overrides org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableFloatCollection.withoutAll.

Implements org.eclipse.collections.api.set.primitive.MutableFloatSet.withoutAll, org.eclipse.collections.api.collection.primitive.MutableFloatCollection.withoutAll.

Annotations
@Override