Class AbstractChar2BooleanSortedMap
- All Implemented Interfaces:
Char2BooleanFunction,Char2BooleanMap,Char2BooleanSortedMap,Function<Character,Boolean>,Serializable,Function<Character,Boolean>,IntPredicate,Map<Character,Boolean>,SortedMap<Character,Boolean>
- Direct Known Subclasses:
Char2BooleanAVLTreeMap,Char2BooleanLinkedOpenHashMap,Char2BooleanRBTreeMap
public abstract class AbstractChar2BooleanSortedMap extends AbstractChar2BooleanMap implements Char2BooleanSortedMap
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.chars.AbstractChar2BooleanMap
AbstractChar2BooleanMap.BasicEntry, AbstractChar2BooleanMap.BasicEntrySetNested classes/interfaces inherited from interface it.unimi.dsi.fastutil.chars.Char2BooleanMap
Char2BooleanMap.Entry, Char2BooleanMap.FastEntrySetNested classes/interfaces inherited from interface it.unimi.dsi.fastutil.chars.Char2BooleanSortedMap
Char2BooleanSortedMap.FastSortedEntrySet -
Method Summary
Modifier and Type Method Description CharSortedSetkeySet()Returns a type-specific-set view of the keys of this map.BooleanCollectionvalues()Returns a type-specific-set view of the values of this map.Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractChar2BooleanMap
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toStringMethods inherited from class it.unimi.dsi.fastutil.chars.AbstractChar2BooleanFunction
defaultReturnValue, defaultReturnValueMethods inherited from interface it.unimi.dsi.fastutil.chars.Char2BooleanFunction
get, put, remove, testMethods inherited from interface it.unimi.dsi.fastutil.chars.Char2BooleanMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, get, getOrDefault, getOrDefault, merge, merge, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, sizeMethods inherited from interface it.unimi.dsi.fastutil.chars.Char2BooleanSortedMap
char2BooleanEntrySet, comparator, entrySet, firstCharKey, firstKey, headMap, headMap, lastCharKey, lastKey, subMap, subMap, tailMap, tailMap
-
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 interfaceChar2BooleanMap- Specified by:
keySetin interfaceChar2BooleanSortedMap- Specified by:
keySetin interfaceMap<Character,Boolean>- Specified by:
keySetin interfaceSortedMap<Character,Boolean>- Overrides:
keySetin classAbstractChar2BooleanMap- Returns:
- a sorted set view of the keys of this map; it may be safely cast to a type-specific interface.
- See Also:
Map.keySet()
-
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 interfaceChar2BooleanMap- Specified by:
valuesin interfaceChar2BooleanSortedMap- Specified by:
valuesin interfaceMap<Character,Boolean>- Specified by:
valuesin interfaceSortedMap<Character,Boolean>- Overrides:
valuesin classAbstractChar2BooleanMap- Returns:
- a type-specific collection view of the values contained in this map.
- See Also:
Map.values()
-