public abstract class AbstractImmutableFloatSet extends AbstractFloatSet implements ImmutableFloatSet
Constructor and Description |
---|
AbstractImmutableFloatSet() |
Modifier and Type | Method and Description |
---|---|
FloatSet |
freeze()
Returns a frozen copy of this set.
|
ImmutableFloatSet |
newWith(float element) |
ImmutableFloatSet |
newWithAll(FloatIterable elements) |
ImmutableFloatSet |
newWithout(float element) |
ImmutableFloatSet |
newWithoutAll(FloatIterable elements) |
ImmutableFloatSet |
toImmutable()
Returns an immutable copy of this set.
|
equals, hashCode
asLazy, average, containsAll, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
collect, reject, select
equals, hashCode
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public ImmutableFloatSet newWith(float element)
newWith
in interface ImmutableFloatCollection
newWith
in interface ImmutableFloatSet
public ImmutableFloatSet newWithout(float element)
newWithout
in interface ImmutableFloatCollection
newWithout
in interface ImmutableFloatSet
public ImmutableFloatSet newWithAll(FloatIterable elements)
newWithAll
in interface ImmutableFloatCollection
newWithAll
in interface ImmutableFloatSet
public ImmutableFloatSet newWithoutAll(FloatIterable elements)
newWithoutAll
in interface ImmutableFloatCollection
newWithoutAll
in interface ImmutableFloatSet
public FloatSet freeze()
FloatSet
public ImmutableFloatSet toImmutable()
FloatSet
toImmutable
in interface FloatSet
Copyright © 2004–2016. All rights reserved.