Package it.unimi.dsi.fastutil.shorts
Class AbstractShort2DoubleMap.BasicEntrySet
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectCollection<K>
-
- it.unimi.dsi.fastutil.objects.AbstractObjectSet<Short2DoubleMap.Entry>
-
- it.unimi.dsi.fastutil.shorts.AbstractShort2DoubleMap.BasicEntrySet
-
- All Implemented Interfaces:
ObjectCollection<Short2DoubleMap.Entry>
,ObjectIterable<Short2DoubleMap.Entry>
,ObjectSet<Short2DoubleMap.Entry>
,Cloneable
,Iterable<Short2DoubleMap.Entry>
,Collection<Short2DoubleMap.Entry>
,Set<Short2DoubleMap.Entry>
- Enclosing class:
- AbstractShort2DoubleMap
public abstract static class AbstractShort2DoubleMap.BasicEntrySet extends AbstractObjectSet<Short2DoubleMap.Entry>
This class provides a basic implementation for an Entry set which forwards some queries to the map.
-
-
Constructor Summary
Constructors Constructor Description BasicEntrySet(Short2DoubleMap map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Object o)
boolean
remove(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
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Constructor Detail
-
BasicEntrySet
public BasicEntrySet(Short2DoubleMap map)
-
-
Method Detail
-
contains
public boolean contains(Object o)
- Specified by:
contains
in interfaceCollection<Short2DoubleMap.Entry>
- Specified by:
contains
in interfaceSet<Short2DoubleMap.Entry>
- Overrides:
contains
in classAbstractCollection<Short2DoubleMap.Entry>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<Short2DoubleMap.Entry>
- Specified by:
remove
in interfaceSet<Short2DoubleMap.Entry>
- Overrides:
remove
in classAbstractCollection<Short2DoubleMap.Entry>
-
size
public int size()
- Specified by:
size
in interfaceCollection<Short2DoubleMap.Entry>
- Specified by:
size
in interfaceSet<Short2DoubleMap.Entry>
- Specified by:
size
in classAbstractCollection<Short2DoubleMap.Entry>
-
-