Class Object2CharFunctions.PrimitiveFunction<K>

java.lang.Object
it.unimi.dsi.fastutil.objects.Object2CharFunctions.PrimitiveFunction<K>
All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<K,​java.lang.Character>, it.unimi.dsi.fastutil.objects.Object2CharFunction<K>, java.util.function.Function<K,​java.lang.Character>, java.util.function.ToIntFunction<K>
Enclosing class:
Object2CharFunctions

public static class Object2CharFunctions.PrimitiveFunction<K>
extends java.lang.Object
implements it.unimi.dsi.fastutil.objects.Object2CharFunction<K>
An adapter for mapping generic total functions to partial primitive functions.
  • Method Summary

    Modifier and Type Method Description
    boolean containsKey​(java.lang.Object key)  
    java.lang.Character get​(java.lang.Object key)
    Deprecated.
    char getChar​(java.lang.Object key)  
    char getOrDefault​(java.lang.Object key, char defaultValue)  
    java.lang.Character getOrDefault​(java.lang.Object key, java.lang.Character defaultValue)
    Deprecated.
    java.lang.Character put​(K key, java.lang.Character value)
    Deprecated.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface it.unimi.dsi.fastutil.Function

    apply, clear, size

    Methods inherited from interface java.util.function.Function

    compose

    Methods inherited from interface it.unimi.dsi.fastutil.objects.Object2CharFunction

    andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, defaultReturnValue, defaultReturnValue, put, remove, removeChar
  • Method Details

    • containsKey

      public boolean containsKey​(java.lang.Object key)
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.Function<K,​java.lang.Character>
    • getChar

      public char getChar​(java.lang.Object key)
      Specified by:
      getChar in interface it.unimi.dsi.fastutil.objects.Object2CharFunction<K>
    • getOrDefault

      public char getOrDefault​(java.lang.Object key, char defaultValue)
      Specified by:
      getOrDefault in interface it.unimi.dsi.fastutil.objects.Object2CharFunction<K>
    • get

      @Deprecated public java.lang.Character get​(java.lang.Object key)
      Deprecated.
      Specified by:
      get in interface it.unimi.dsi.fastutil.Function<K,​java.lang.Character>
      Specified by:
      get in interface it.unimi.dsi.fastutil.objects.Object2CharFunction<K>
    • getOrDefault

      @Deprecated public java.lang.Character getOrDefault​(java.lang.Object key, java.lang.Character defaultValue)
      Deprecated.
      Specified by:
      getOrDefault in interface it.unimi.dsi.fastutil.Function<K,​java.lang.Character>
      Specified by:
      getOrDefault in interface it.unimi.dsi.fastutil.objects.Object2CharFunction<K>
    • put

      @Deprecated public java.lang.Character put​(K key, java.lang.Character value)
      Deprecated.
      Specified by:
      put in interface it.unimi.dsi.fastutil.Function<K,​java.lang.Character>
      Specified by:
      put in interface it.unimi.dsi.fastutil.objects.Object2CharFunction<K>