Interface Char2ObjectMap<V>

    • Method Detail

      • char2ObjectEntrySet

        ObjectSet<Char2ObjectMap.Entry<V>> char2ObjectEntrySet()
        Returns a type-specific set view of the mappings contained in this map.

        This method is necessary because there is no inheritance along type parameters: it is thus impossible to strengthen entrySet() so that it returns an ObjectSet of objects of type Map.Entry (the latter makes it possible to access keys and values with type-specific methods).

        Returns:
        a type-specific set view of the mappings contained in this map.
        See Also:
        entrySet()
      • keySet

        CharSet keySet()
        Returns a set view of the keys contained in this map.

        Note that this specification strengthens the one given in Map.keySet().

        Specified by:
        keySet in interface Map<Character,​V>
        Returns:
        a set view of the keys contained in this map.
        See Also:
        Map.keySet()
      • values

        ObjectCollection<V> values()
        Returns a set view of the values contained in this map.

        Note that this specification strengthens the one given in Map.values().

        Specified by:
        values in interface Map<Character,​V>
        Returns:
        a set view of the values contained in this map.
        See Also:
        Map.values()