Package it.unimi.dsi.fastutil.floats
Class AbstractFloat2ObjectMap.BasicEntrySet<V>
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectSet<Float2ObjectMap.Entry<V>>
-
- it.unimi.dsi.fastutil.floats.AbstractFloat2ObjectMap.BasicEntrySet<V>
-
- All Implemented Interfaces:
ObjectCollection<Float2ObjectMap.Entry<V>>
,ObjectIterable<Float2ObjectMap.Entry<V>>
,ObjectSet<Float2ObjectMap.Entry<V>>
,java.lang.Cloneable
,java.lang.Iterable<Float2ObjectMap.Entry<V>>
,java.util.Collection<Float2ObjectMap.Entry<V>>
,java.util.Set<Float2ObjectMap.Entry<V>>
- Enclosing class:
- AbstractFloat2ObjectMap<V>
public abstract static class AbstractFloat2ObjectMap.BasicEntrySet<V> extends AbstractObjectSet<Float2ObjectMap.Entry<V>>
This class provides a basic implementation for an Entry set which forwards some queries to the map.
-
-
Constructor Summary
Constructors Constructor Description BasicEntrySet(Float2ObjectMap<V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(java.lang.Object o)
boolean
remove(java.lang.Object o)
int
size()
ObjectSpliterator<Float2ObjectMap.Entry<V>>
spliterator()
Returns a type-specific spliterator on the elements of this set.-
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iterator
-
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectCollection
toString
-
-
-
-
Constructor Detail
-
BasicEntrySet
public BasicEntrySet(Float2ObjectMap<V> map)
-
-
Method Detail
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interfacejava.util.Collection<V>
- Specified by:
contains
in interfacejava.util.Set<V>
- Overrides:
contains
in classjava.util.AbstractCollection<Float2ObjectMap.Entry<V>>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<V>
- Specified by:
remove
in interfacejava.util.Set<V>
- Overrides:
remove
in classjava.util.AbstractCollection<Float2ObjectMap.Entry<V>>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<V>
- Specified by:
size
in interfacejava.util.Set<V>
- Specified by:
size
in classjava.util.AbstractCollection<Float2ObjectMap.Entry<V>>
-
spliterator
public ObjectSpliterator<Float2ObjectMap.Entry<V>> spliterator()
Description copied from interface:ObjectSet
Returns a type-specific spliterator on the elements of this set.Set spliterators must report at least
Spliterator.DISTINCT
.See
Set.spliterator()
for more documentation on the requirements of the returned spliterator.- Returns:
- a type-specific spliterator on the elements of this collection.
-
-