@NotThreadSafe public final class UnmodifiableFloatSet extends AbstractUnmodifiableFloatCollection implements com.gs.collections.api.set.primitive.MutableFloatSet
| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.LazyFloatIterable |
asLazy() |
com.gs.collections.api.set.primitive.MutableFloatSet |
asSynchronized() |
com.gs.collections.api.set.primitive.MutableFloatSet |
asUnmodifiable() |
<V> com.gs.collections.api.set.MutableSet<V> |
collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
boolean |
equals(java.lang.Object otherSet)
Follows the same general contract as
Set.equals(Object). |
com.gs.collections.api.set.primitive.FloatSet |
freeze()
Returns a frozen copy of this set.
|
int |
hashCode()
Follows the same general contract as
Set.hashCode(). |
static UnmodifiableFloatSet |
of(com.gs.collections.api.set.primitive.MutableFloatSet set)
This method will take a MutableFloatSet and wrap it directly in a UnmodifiableFloatSet.
|
com.gs.collections.api.set.primitive.MutableFloatSet |
reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
com.gs.collections.api.set.primitive.MutableFloatSet |
select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
com.gs.collections.api.set.primitive.ImmutableFloatSet |
toImmutable()
Returns an immutable copy of this set.
|
UnmodifiableFloatSet |
with(float element) |
UnmodifiableFloatSet |
withAll(com.gs.collections.api.FloatIterable elements) |
UnmodifiableFloatSet |
without(float element) |
UnmodifiableFloatSet |
withoutAll(com.gs.collections.api.FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, getFloatCollection, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static UnmodifiableFloatSet of(com.gs.collections.api.set.primitive.MutableFloatSet set)
public UnmodifiableFloatSet with(float element)
with in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwith in interface com.gs.collections.api.set.primitive.MutableFloatSetwith in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatSet without(float element)
without in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithout in interface com.gs.collections.api.set.primitive.MutableFloatSetwithout in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatSet withAll(com.gs.collections.api.FloatIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithAll in interface com.gs.collections.api.set.primitive.MutableFloatSetwithAll in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatSet withoutAll(com.gs.collections.api.FloatIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithoutAll in interface com.gs.collections.api.set.primitive.MutableFloatSetwithoutAll in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionselect in interface com.gs.collections.api.FloatIterableselect in interface com.gs.collections.api.set.primitive.FloatSetselect in interface com.gs.collections.api.set.primitive.MutableFloatSetselect in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionreject in interface com.gs.collections.api.FloatIterablereject in interface com.gs.collections.api.set.primitive.FloatSetreject in interface com.gs.collections.api.set.primitive.MutableFloatSetreject in class AbstractUnmodifiableFloatCollectionpublic <V> com.gs.collections.api.set.MutableSet<V> collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.collection.primitive.MutableFloatCollectioncollect in interface com.gs.collections.api.FloatIterablecollect in interface com.gs.collections.api.set.primitive.FloatSetcollect in interface com.gs.collections.api.set.primitive.MutableFloatSetcollect in class AbstractUnmodifiableFloatCollectionpublic boolean equals(java.lang.Object otherSet)
com.gs.collections.api.set.primitive.FloatSetSet.equals(Object).equals in interface com.gs.collections.api.set.primitive.FloatSetequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.set.primitive.FloatSetSet.hashCode().hashCode in interface com.gs.collections.api.set.primitive.FloatSethashCode in class java.lang.Objectpublic com.gs.collections.api.LazyFloatIterable asLazy()
asLazy in interface com.gs.collections.api.FloatIterableasLazy in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionasUnmodifiable in interface com.gs.collections.api.set.primitive.MutableFloatSetasUnmodifiable in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionasSynchronized in interface com.gs.collections.api.set.primitive.MutableFloatSetasSynchronized in class AbstractUnmodifiableFloatCollectionpublic com.gs.collections.api.set.primitive.FloatSet freeze()
com.gs.collections.api.set.primitive.MutableFloatSetfreeze in interface com.gs.collections.api.set.primitive.FloatSetfreeze in interface com.gs.collections.api.set.primitive.MutableFloatSetpublic com.gs.collections.api.set.primitive.ImmutableFloatSet toImmutable()
com.gs.collections.api.set.primitive.MutableFloatSettoImmutable in interface com.gs.collections.api.collection.primitive.MutableFloatCollectiontoImmutable in interface com.gs.collections.api.set.primitive.FloatSettoImmutable in interface com.gs.collections.api.set.primitive.MutableFloatSettoImmutable in class AbstractUnmodifiableFloatCollection