FloatCollection, FloatIterable, FloatSet, java.io.Serializable, java.lang.Iterable<java.lang.Float>, java.util.Collection<java.lang.Float>, java.util.Set<java.lang.Float>FloatSortedSets.UnmodifiableSortedSetpublic static class FloatSets.UnmodifiableSet extends FloatCollections.UnmodifiableCollection implements FloatSet, java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
boolean |
rem(float k) |
Deprecated.
|
boolean |
remove(float k) |
Removes an element from this set.
|
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toFloatArray, toFloatArrayadd, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, iterator, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toFloatArray, toFloatArray, toStringforEach, forEachpublic boolean remove(float k)
FloatSet
Note that the corresponding method of a type-specific collection is
rem(). This unfortunate situation is caused by the clash with the
similarly named index-based method in the List interface.
public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Float>equals in interface java.util.Set<java.lang.Float>equals in class FloatCollections.UnmodifiableCollectionpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Float>hashCode in interface java.util.Set<java.lang.Float>hashCode in class FloatCollections.UnmodifiableCollection@Deprecated public boolean rem(float k)
FloatCollection
Note that this method should be called
remove(), but the clash with the
similarly named index-based method in the List interface
forces us to use a distinguished name. For simplicity, the set interfaces
reinstates remove().
rem in interface FloatCollectionrem in interface FloatSetrem in class FloatCollections.UnmodifiableCollectionCollection.remove(Object)