Class Object2ByteFunctions.PrimitiveFunction<K>

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

public static class Object2ByteFunctions.PrimitiveFunction<K>
extends java.lang.Object
implements it.unimi.dsi.fastutil.objects.Object2ByteFunction<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.Byte get​(java.lang.Object key)
    Deprecated.
    byte getByte​(java.lang.Object key)  
    byte getOrDefault​(java.lang.Object key, byte defaultValue)  
    java.lang.Byte getOrDefault​(java.lang.Object key, java.lang.Byte defaultValue)
    Deprecated.
    java.lang.Byte put​(K key, java.lang.Byte 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.Object2ByteFunction

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

    • containsKey

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

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

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

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

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

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