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
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectSet
equals, hashCode, iteratorMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
-
Constructor Details
-
Method Details
-
contains
- Specified by:
containsin interfaceCollection<Short2DoubleMap.Entry>- Specified by:
containsin interfaceSet<Short2DoubleMap.Entry>- Overrides:
containsin classAbstractCollection<Short2DoubleMap.Entry>
-
remove
- Specified by:
removein interfaceCollection<Short2DoubleMap.Entry>- Specified by:
removein interfaceSet<Short2DoubleMap.Entry>- Overrides:
removein classAbstractCollection<Short2DoubleMap.Entry>
-
size
public int size()- Specified by:
sizein interfaceCollection<Short2DoubleMap.Entry>- Specified by:
sizein interfaceSet<Short2DoubleMap.Entry>- Specified by:
sizein classAbstractCollection<Short2DoubleMap.Entry>
-