Package it.unimi.dsi.fastutil.objects
Class AbstractObject2DoubleMap.BasicEntrySet<K>
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectSet<Object2DoubleMap.Entry<K>>
-
- it.unimi.dsi.fastutil.objects.AbstractObject2DoubleMap.BasicEntrySet<K>
-
- All Implemented Interfaces:
ObjectCollection<Object2DoubleMap.Entry<K>>
,ObjectIterable<Object2DoubleMap.Entry<K>>
,ObjectSet<Object2DoubleMap.Entry<K>>
,java.lang.Cloneable
,java.lang.Iterable<Object2DoubleMap.Entry<K>>
,java.util.Collection<Object2DoubleMap.Entry<K>>
,java.util.Set<Object2DoubleMap.Entry<K>>
- Enclosing class:
- AbstractObject2DoubleMap<K>
public abstract static class AbstractObject2DoubleMap.BasicEntrySet<K> extends AbstractObjectSet<Object2DoubleMap.Entry<K>>
This class provides a basic implementation for an Entry set which forwards some queries to the map.
-
-
Constructor Summary
Constructors Constructor Description BasicEntrySet(Object2DoubleMap<K> 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()
-
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(Object2DoubleMap<K> map)
-
-
Method Detail
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interfacejava.util.Collection<K>
- Specified by:
contains
in interfacejava.util.Set<K>
- Overrides:
contains
in classjava.util.AbstractCollection<Object2DoubleMap.Entry<K>>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<K>
- Specified by:
remove
in interfacejava.util.Set<K>
- Overrides:
remove
in classjava.util.AbstractCollection<Object2DoubleMap.Entry<K>>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<K>
- Specified by:
size
in interfacejava.util.Set<K>
- Specified by:
size
in classjava.util.AbstractCollection<Object2DoubleMap.Entry<K>>
-
-