Class Float2CharFunctions.PrimitiveFunction

java.lang.Object
it.unimi.dsi.fastutil.floats.Float2CharFunctions.PrimitiveFunction
All Implemented Interfaces:
it.unimi.dsi.fastutil.floats.Float2CharFunction, it.unimi.dsi.fastutil.Function<Float,Character>, DoubleToIntFunction, Function<Float,Character>
Enclosing class:
Float2CharFunctions

public static class Float2CharFunctions.PrimitiveFunction extends Object implements it.unimi.dsi.fastutil.floats.Float2CharFunction
An adapter for mapping generic total functions to partial primitive functions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Function<? super Float,? extends Character>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PrimitiveFunction(Function<? super Float,? extends Character> function)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    containsKey(float key)
     
    boolean
    Deprecated.
    char
    get(float key)
     
    get(Object key)
    Deprecated.
    char
    getOrDefault(float key, char defaultValue)
     
    getOrDefault(Object key, Character defaultValue)
    Deprecated.
    put(Float key, Character value)
    Deprecated.

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface it.unimi.dsi.fastutil.floats.Float2CharFunction

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

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

    apply, clear, size
  • Field Details

  • Constructor Details

  • Method Details

    • containsKey

      public boolean containsKey(float key)
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
    • containsKey

      @Deprecated public boolean containsKey(Object key)
      Deprecated.
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.Function<Float,Character>
    • get

      public char get(float key)
      Specified by:
      get in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
    • getOrDefault

      public char getOrDefault(float key, char defaultValue)
      Specified by:
      getOrDefault in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
    • get

      @Deprecated public Character get(Object key)
      Deprecated.
      Specified by:
      get in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
      Specified by:
      get in interface it.unimi.dsi.fastutil.Function<Float,Character>
    • getOrDefault

      @Deprecated public Character getOrDefault(Object key, Character defaultValue)
      Deprecated.
      Specified by:
      getOrDefault in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
      Specified by:
      getOrDefault in interface it.unimi.dsi.fastutil.Function<Float,Character>
    • put

      @Deprecated public Character put(Float key, Character value)
      Deprecated.
      Specified by:
      put in interface it.unimi.dsi.fastutil.floats.Float2CharFunction
      Specified by:
      put in interface it.unimi.dsi.fastutil.Function<Float,Character>