Package it.unimi.dsi.fastutil.objects
Class AbstractReference2ReferenceMap.BasicEntry<K,V>
- java.lang.Object
-
- it.unimi.dsi.fastutil.objects.AbstractReference2ReferenceMap.BasicEntry<K,V>
-
- All Implemented Interfaces:
Reference2ReferenceMap.Entry<K,V>
,Map.Entry<K,V>
- Enclosing class:
- AbstractReference2ReferenceMap<K,V>
public static class AbstractReference2ReferenceMap.BasicEntry<K,V> extends Object implements Reference2ReferenceMap.Entry<K,V>
This class provides a basic but complete type-specific entry class for all those maps implementations that do not have entries on their own (e.g., most immutable maps).This class does not implement
setValue()
, as the modification would not be reflected in the base map.
-
-
Constructor Summary
Constructors Constructor Description BasicEntry()
BasicEntry(K key, V value)
-
-
-
Method Detail
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-