Class AbstractReference2CharSortedMap<K>
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<K,,Character> it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>,Reference2CharMap<K>,Reference2CharSortedMap<K>,Serializable,Function<K,,Character> ToIntFunction<K>,Map<K,,Character> SequencedMap<K,,Character> SortedMap<K,Character>
- Direct Known Subclasses:
Reference2CharLinkedOpenHashMap
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classA wrapper exhibiting the keys of a map.protected static classA wrapper exhibiting a map iterator as an iterator on keys.protected classA wrapper exhibiting the values of a map.protected static classA wrapper exhibiting a map iterator as an iterator on values.Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.objects.AbstractReference2CharMap
AbstractReference2CharMap.BasicEntry<K>, AbstractReference2CharMap.BasicEntrySet<K>Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.objects.Reference2CharMap
Reference2CharMap.Entry<K>, Reference2CharMap.FastEntrySet<K>Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.objects.Reference2CharSortedMap
Reference2CharSortedMap.FastSortedEntrySet<K> -
Field Summary
Fields inherited from class it.unimi.dsi.fastutil.objects.AbstractReference2CharFunction
defRetValue -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReference2CharMap
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toStringMethods inherited from class it.unimi.dsi.fastutil.objects.AbstractReference2CharFunction
defaultReturnValue, defaultReturnValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.Function
applyMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, equals, get, getOrDefault, hashCode, isEmpty, put, putAll, remove, replaceAll, sizeMethods inherited from interface it.unimi.dsi.fastutil.objects.Reference2CharFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, getChar, put, removeCharMethods inherited from interface it.unimi.dsi.fastutil.objects.Reference2CharMap
clear, computeChar, computeCharIfAbsent, computeCharIfAbsentPartial, computeCharIfPresent, computeIfAbsent, computeIfAbsent, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, forEach, forEach, get, getOrDefault, getOrDefault, merge, merge, mergeChar, mergeChar, mergeChar, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, sizeMethods inherited from interface it.unimi.dsi.fastutil.objects.Reference2CharSortedMap
comparator, entrySet, headMap, reference2CharEntrySet, subMap, tailMapMethods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry, sequencedEntrySet, sequencedKeySet, sequencedValues
-
Constructor Details
-
AbstractReference2CharSortedMap
protected AbstractReference2CharSortedMap()
-
-
Method Details
-
keySet
Returns a type-specific-set view of the keys of this map.The view is backed by the set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.The view is backed by the sorted set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.- Specified by:
keySetin interfaceMap<K,Character> - Specified by:
keySetin interfaceReference2CharMap<K>- Specified by:
keySetin interfaceReference2CharSortedMap<K>- Specified by:
keySetin interfaceSortedMap<K,Character> - Overrides:
keySetin classAbstractReference2CharMap<K>- Returns:
- a sorted set view of the keys of this map; it may be safely cast to a type-specific interface.
- See Also:
-
values
public it.unimi.dsi.fastutil.chars.CharCollection values()Returns a type-specific-set view of the values of this map.The view is backed by the set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.The view is backed by the sorted set returned by
Map.entrySet(). Note that no attempt is made at caching the result of this method, as this would require adding some attributes that lightweight implementations would not need. Subclasses may easily override this policy by calling this method and caching the result, but implementors are encouraged to write more efficient ad-hoc implementations.- Specified by:
valuesin interfaceMap<K,Character> - Specified by:
valuesin interfaceReference2CharMap<K>- Specified by:
valuesin interfaceReference2CharSortedMap<K>- Specified by:
valuesin interfaceSortedMap<K,Character> - Overrides:
valuesin classAbstractReference2CharMap<K>- Returns:
- a type-specific collection view of the values contained in this map.
- See Also:
-