Schnittstelle Long2FloatMap

Alle Superschnittstellen:
Long2FloatFunction, Map<Long,Float>
Alle bekannten Unterschnittstellen:
Long2FloatConcurrentMap, Long2FloatNavigableMap, Long2FloatOrderedMap, Long2FloatSortedMap
Alle bekannten Implementierungsklassen:
AbstractLong2FloatMap, ImmutableLong2FloatOpenHashMap, Long2FloatArrayMap, Long2FloatAVLTreeMap, Long2FloatConcurrentOpenHashMap, Long2FloatLinkedOpenCustomHashMap, Long2FloatLinkedOpenHashMap, Long2FloatMaps.EmptyMap, Long2FloatMaps.SingletonMap, Long2FloatMaps.SynchronizedMap, Long2FloatMaps.SynchronizedNavigableMap, Long2FloatMaps.SynchronizedOrderedMap, Long2FloatMaps.SynchronizedSortedMap, Long2FloatMaps.UnmodifyableMap, Long2FloatMaps.UnmodifyableNavigableMap, Long2FloatMaps.UnmodifyableOrderedMap, Long2FloatMaps.UnmodifyableSortedMap, Long2FloatOpenCustomHashMap, Long2FloatOpenHashMap, Long2FloatRBTreeMap

public interface Long2FloatMap extends Map<Long,Float>, Long2FloatFunction
A Type Specific Map that reduces memory overhead due to boxing/unboxing of Primitives and some extra helper functions.
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static class 
    Builder Cache for allowing to buildMaps
    static interface 
    Type Specific Map Entry that reduces boxing/unboxing
    static interface 
    Fast Entry set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
    static final class 
    Helper class that reduces the method spam of the Map Class.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    float
    addTo(long key, float value)
    A Helper method to add a primitives together.
    void
    A Helper method to bulk add primitives together.
    default float
    applyAsFloat(long key)
    Type Specific get function to reduce boxing/unboxing
    Helper Class that allows to create Maps without requiring a to type out the entire implementation or know it.
    default Float
    compute(Long key, BiFunction<? super Long,? super Float,? extends Float> mappingFunction)
    Veraltet.
    float
    computeFloat(long key, LongFloatUnaryOperator mappingFunction)
    A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    computeFloatIfAbsent(long key, Long2FloatFunction mappingFunction)
    A Type Specific computeIfAbsent method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    A Type Specific computeIfAbsent method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    computeFloatIfPresent(long key, LongFloatUnaryOperator mappingFunction)
    A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    computeFloatNonDefault(long key, LongFloatUnaryOperator mappingFunction)
    A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    default Float
    computeIfAbsent(Long key, Function<? super Long,? extends Float> mappingFunction)
    Veraltet.
    default Float
    computeIfPresent(Long key, BiFunction<? super Long,? super Float,? extends Float> mappingFunction)
    Veraltet.
    boolean
    containsKey(long key)
    Type Specific method to reduce boxing/unboxing of values
    default boolean
     
    boolean
    containsValue(float value)
    Type Specific method to reduce boxing/unboxing of values
    default boolean
     
    A Function that does a shallow clone of the Map itself.
    Veraltet.
    default void
    forEach(BiConsumer<? super Long,? super Float> action)
    Veraltet.
    void
    Type Specific forEach method to reduce boxing/unboxing
    float
    get(long key)
    A Type Specific get method to reduce boxing/unboxing
    default Float
    get(Object key)
    Veraltet.
    float
    Method to see what the default return value is.
    float
    getOrDefault(long key, float defaultValue)
    A Type Specific getOrDefault method to reduce boxing/unboxing
    default Float
    getOrDefault(Object key, Float defaultValue)
    Veraltet.
     
    Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
    default Float
    merge(Long key, Float value, BiFunction<? super Float,? super Float,? extends Float> mappingFunction)
    Veraltet.
    void
    A Bulk method for merging Maps.
    float
    mergeFloat(long key, float value, FloatFloatUnaryOperator mappingFunction)
    A Type Specific merge method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    put(long key, float value)
    Type Specific method to reduce boxing/unboxing of values
    default Float
    put(Long key, Float value)
    Veraltet.
    default Float
    A Helper method that allows to put int a Map.Entry into a map.
    default float
    A Helper method that allows to put int a Long2FloatMap.Entry into a map.
    default void
    putAll(long[] keys, float[] values)
    Type Specific array method to bulk add elements into a map without creating a wrapper and increasing performances
    void
    putAll(long[] keys, float[] values, int offset, int size)
    Type Specific array method to bulk add elements into a map without creating a wrapper and increasing performances
    default void
    putAll(Long[] keys, Float[] values)
    Type Specific Object array method to bulk add elements into a map without creating a wrapper and increasing performances
    void
    putAll(Long[] keys, Float[] values, int offset, int size)
    Type Specific Object array method to bulk add elements into a map without creating a wrapper and increasing performances
    void
    Type Specific function for the bull putting of values
    void
    Type-Specific bulk put method put elements into the map if not present.
    float
    putIfAbsent(long key, float value)
    Type Specific method to reduce boxing/unboxing of values
    default Float
    putIfAbsent(Long key, Float value)
    Veraltet.
    float
    remove(long key)
    Type Specific remove function to reduce boxing/unboxing
    boolean
    remove(long key, float value)
    Type Specific remove function to reduce boxing/unboxing
    default Float
     
    default boolean
    remove(Object key, Object value)
     
    float
    removeOrDefault(long key, float defaultValue)
    Type-Specific Remove function with a default return value if wanted.
    float
    replace(long key, float value)
    A Type Specific replace method to reduce boxing/unboxing replace an existing value
    boolean
    replace(long key, float oldValue, float newValue)
    A Type Specific replace method to replace an existing value
    default Float
    replace(Long key, Float value)
    Veraltet.
    default boolean
    replace(Long key, Float oldValue, Float newValue)
    Veraltet.
    default void
    replaceAll(BiFunction<? super Long,? super Float,? extends Float> mappingFunction)
    Veraltet.
    void
    A Type Specific mass replace method to reduce boxing/unboxing
    void
    Type-Specific bulk replace method.
    Method to define the default return value if a requested key isn't present
    float
    subFrom(long key, float value)
    A Helper method to subtract from primitive from each other.
    float
    supplyFloatIfAbsent(long key, FloatSupplier valueProvider)
    A Supplier based computeIfAbsent function to fill the most used usecase of this function If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    float
    supplyFloatIfAbsentNonDefault(long key, FloatSupplier valueProvider)
    A Supplier based computeIfAbsent function to fill the most used usecase of this function If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null".
    Creates a Wrapped Map that is Synchronized
    Creates a Wrapped Map that is Synchronized
    Creates a Wrapped Map that is unmodifiable
     

    Von Schnittstelle geerbte Methoden java.util.Map

    clear, equals, hashCode, isEmpty, putAll, size
  • Methodendetails

    • builder

      static Long2FloatMap.MapBuilder builder()
      Helper Class that allows to create Maps without requiring a to type out the entire implementation or know it.
      Gibt zurück:
      a MapBuilder
    • getDefaultReturnValue

      float getDefaultReturnValue()
      Method to see what the default return value is.
      Gibt zurück:
      default return value
    • setDefaultReturnValue

      Long2FloatMap setDefaultReturnValue(float v)
      Method to define the default return value if a requested key isn't present
      Parameter:
      v - value that should be the default return value
      Gibt zurück:
      itself
    • copy

      A Function that does a shallow clone of the Map itself. This function is more optimized then a copy constructor since the Map does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk
      Gibt zurück:
      a Shallow Copy of the Map
      Note:
      Wrappers and view Maps will not support this feature
    • put

      float put(long key, float value)
      Type Specific method to reduce boxing/unboxing of values
      Parameter:
      key - the key that should be inserted,
      value - the value that should be inserted
      Gibt zurück:
      the last present value or default return value.
      Siehe auch:
    • put

      default float put(Long2FloatMap.Entry entry)
      A Helper method that allows to put int a Long2FloatMap.Entry into a map.
      Parameter:
      entry - then Entry that should be inserted.
      Gibt zurück:
      the last present value or default return value.
    • put

      default Float put(Map.Entry<Long,Float> entry)
      A Helper method that allows to put int a Map.Entry into a map.
      Parameter:
      entry - then Entry that should be inserted.
      Gibt zurück:
      the last present value or default return value.
    • putAll

      default void putAll(long[] keys, float[] values)
      Type Specific array method to bulk add elements into a map without creating a wrapper and increasing performances
      Parameter:
      keys - the keys that should be added
      values - the values that should be added
      Löst aus:
      IllegalStateException - if the arrays are not the same size
      Siehe auch:
    • putAll

      void putAll(long[] keys, float[] values, int offset, int size)
      Type Specific array method to bulk add elements into a map without creating a wrapper and increasing performances
      Parameter:
      keys - the keys that should be added
      values - the values that should be added
      offset - where the to start in the array
      size - how many elements should be added
      Löst aus:
      IllegalStateException - if the arrays are not within the range
      Siehe auch:
    • putAll

      default void putAll(Long[] keys, Float[] values)
      Type Specific Object array method to bulk add elements into a map without creating a wrapper and increasing performances
      Parameter:
      keys - the keys that should be added
      values - the values that should be added
      Löst aus:
      IllegalStateException - if the arrays are not the same size
      Siehe auch:
    • putAll

      void putAll(Long[] keys, Float[] values, int offset, int size)
      Type Specific Object array method to bulk add elements into a map without creating a wrapper and increasing performances
      Parameter:
      keys - the keys that should be added
      values - the values that should be added
      offset - where the to start in the array
      size - how many elements should be added
      Löst aus:
      IllegalStateException - if the arrays are not within the range
      Siehe auch:
    • putIfAbsent

      float putIfAbsent(long key, float value)
      Type Specific method to reduce boxing/unboxing of values
      Parameter:
      key - the key that should be inserted,
      value - the value that should be inserted
      Gibt zurück:
      the last present value or default return value.
      Siehe auch:
    • putAllIfAbsent

      void putAllIfAbsent(Long2FloatMap m)
      Type-Specific bulk put method put elements into the map if not present.
      Parameter:
      m - elements that should be added if not present.
    • addTo

      float addTo(long key, float value)
      A Helper method to add a primitives together. If key is not present then this functions as a put.
      Parameter:
      key - the key that should be inserted,
      value - the value that should be inserted / added
      Gibt zurück:
      the last present value or default return value.
    • addToAll

      void addToAll(Long2FloatMap m)
      A Helper method to bulk add primitives together.
      Parameter:
      m - the values that should be added/inserted
    • subFrom

      float subFrom(long key, float value)
      A Helper method to subtract from primitive from each other. If the key is not present it will just return the defaultValue How the implementation works is that it will subtract from the current value (if not present it will do nothing) and fence it to the getDefaultReturnValue() If the fence is reached the element will be automaticall removed
      Parameter:
      key - that should be subtract from
      value - that should be subtract
      Gibt zurück:
      the last present or default return value
    • putAll

      void putAll(Long2FloatMap m)
      Type Specific function for the bull putting of values
      Parameter:
      m - the elements that should be inserted
    • containsKey

      boolean containsKey(long key)
      Type Specific method to reduce boxing/unboxing of values
      Parameter:
      key - element that is searched for
      Gibt zurück:
      if the key is present
    • containsKey

      default boolean containsKey(Object key)
      Angegeben von:
      containsKey in Schnittstelle Map<Long,Float>
      Parameter:
      key - that is searched for.
      Gibt zurück:
      true if found
      Siehe auch:
      Note:
      in some implementations key does not have to be Long but just have to support equals with Long.
    • containsValue

      boolean containsValue(float value)
      Type Specific method to reduce boxing/unboxing of values
      Parameter:
      value - element that is searched for
      Gibt zurück:
      if the value is present
    • containsValue

      default boolean containsValue(Object value)
      Angegeben von:
      containsValue in Schnittstelle Map<Long,Float>
      Parameter:
      value - that is searched for.
      Gibt zurück:
      true if found
      Siehe auch:
      Note:
      in some implementations key does not have to be CLASS_VALUE but just have to support equals with CLASS_VALUE.
    • remove

      float remove(long key)
      Type Specific remove function to reduce boxing/unboxing
      Parameter:
      key - the element that should be removed
      Gibt zurück:
      the value that was removed or default return value
    • remove

      default Float remove(Object key)
      Angegeben von:
      remove in Schnittstelle Map<Long,Float>
      Parameter:
      key - the element that should be removed
      Gibt zurück:
      the value that was removed or default return value
      Siehe auch:
      Note:
      in some implementations key does not have to be Long but just have to support equals with Long.
    • remove

      boolean remove(long key, float value)
      Type Specific remove function to reduce boxing/unboxing
      Parameter:
      key - the element that should be removed
      value - the expected value that should be found
      Gibt zurück:
      true if the key and value was found and removed
      Siehe auch:
    • remove

      default boolean remove(Object key, Object value)
      Angegeben von:
      remove in Schnittstelle Map<Long,Float>
      Parameter:
      key - the element that should be removed
      value - the expected value that should be found
      Gibt zurück:
      true if the key and value was found and removed
      Siehe auch:
    • removeOrDefault

      float removeOrDefault(long key, float defaultValue)
      Type-Specific Remove function with a default return value if wanted.
      Parameter:
      key - the element that should be removed
      defaultValue - the value that should be returned if the entry doesn't exist
      Gibt zurück:
      the value that was removed or default value
      Siehe auch:
    • replace

      boolean replace(long key, float oldValue, float newValue)
      A Type Specific replace method to replace an existing value
      Parameter:
      key - the element that should be searched for
      oldValue - the expected value to be replaced
      newValue - the value to replace the oldValue with.
      Gibt zurück:
      true if the value got replaced
      Note:
      this fails if the value is not present even if it matches the oldValue
    • replace

      float replace(long key, float value)
      A Type Specific replace method to reduce boxing/unboxing replace an existing value
      Parameter:
      key - the element that should be searched for
      value - the value to replace with.
      Gibt zurück:
      the present value or default return value
      Note:
      this fails if the value is not present
    • replaceFloats

      void replaceFloats(Long2FloatMap m)
      Type-Specific bulk replace method. Could be seen as putAllIfPresent
      Parameter:
      m - elements that should be replaced.
    • replaceFloats

      void replaceFloats(LongFloatUnaryOperator mappingFunction)
      A Type Specific mass replace method to reduce boxing/unboxing
      Parameter:
      mappingFunction - operation to replace all values
    • computeFloat

      float computeFloat(long key, LongFloatUnaryOperator mappingFunction)
      A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      mappingFunction - the operator that should generate the value
      Gibt zurück:
      the result of the computation
    • computeFloatIfAbsent

      float computeFloatIfAbsent(long key, Long2FloatFunction mappingFunction)
      A Type Specific computeIfAbsent method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      mappingFunction - the operator that should generate the value if not present
      Gibt zurück:
      the result of the computed value or present value
    • supplyFloatIfAbsent

      float supplyFloatIfAbsent(long key, FloatSupplier valueProvider)
      A Supplier based computeIfAbsent function to fill the most used usecase of this function If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      valueProvider - the value if not present
      Gibt zurück:
      the result of the computed value or present value
    • computeFloatIfPresent

      float computeFloatIfPresent(long key, LongFloatUnaryOperator mappingFunction)
      A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      mappingFunction - the operator that should generate the value if present
      Gibt zurück:
      the result of the default return value or present value
      Note:
      if not present then compute is not executed
    • computeFloatNonDefault

      float computeFloatNonDefault(long key, LongFloatUnaryOperator mappingFunction)
      A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      mappingFunction - the operator that should generate the value
      Gibt zurück:
      the result of the computation
    • computeFloatIfAbsentNonDefault

      float computeFloatIfAbsentNonDefault(long key, Long2FloatFunction mappingFunction)
      A Type Specific computeIfAbsent method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      mappingFunction - the operator that should generate the value if not present
      Gibt zurück:
      the result of the computed value or present value
    • supplyFloatIfAbsentNonDefault

      float supplyFloatIfAbsentNonDefault(long key, FloatSupplier valueProvider)
      A Supplier based computeIfAbsent function to fill the most used usecase of this function If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      valueProvider - the value if not present
      Gibt zurück:
      the result of the computed value or present value
    • computeFloatIfPresentNonDefault

      float computeFloatIfPresentNonDefault(long key, LongFloatUnaryOperator mappingFunction)
      A Type Specific compute method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be computed
      mappingFunction - the operator that should generate the value if present
      Gibt zurück:
      the result of the default return value or present value
      Note:
      if not present then compute is not executed
    • mergeFloat

      float mergeFloat(long key, float value, FloatFloatUnaryOperator mappingFunction)
      A Type Specific merge method to reduce boxing/unboxing If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      key - the key that should be be searched for
      value - the value that should be merged with
      mappingFunction - the operator that should generate the new Value
      Gibt zurück:
      the result of the merge
      Note:
      if the result matches the default return value then the key is removed from the map
    • mergeAllFloat

      void mergeAllFloat(Long2FloatMap m, FloatFloatUnaryOperator mappingFunction)
      A Bulk method for merging Maps. If the generated value equals the getDefaultReturnValue it will simply not insert it since that is treated as "null". A "Null Value" will be treated as "Do not insert/remove" based on how the Java has specified it.
      Parameter:
      m - the entries that should be bulk added
      mappingFunction - the operator that should generate the new Value
      Note:
      if the result matches the default return value then the key is removed from the map
    • replace

      @Deprecated default boolean replace(Long key, Float oldValue, Float newValue)
      Veraltet.
      Angegeben von:
      replace in Schnittstelle Map<Long,Float>
    • replace

      @Deprecated default Float replace(Long key, Float value)
      Veraltet.
      Angegeben von:
      replace in Schnittstelle Map<Long,Float>
    • applyAsFloat

      default float applyAsFloat(long key)
      Beschreibung aus Schnittstelle kopiert: Long2FloatFunction
      Type Specific get function to reduce boxing/unboxing
      Angegeben von:
      applyAsFloat in Schnittstelle Long2FloatFunction
      Parameter:
      key - the value that should be processed
      Gibt zurück:
      the result of the function
    • get

      float get(long key)
      A Type Specific get method to reduce boxing/unboxing
      Parameter:
      key - the key that is searched for
      Gibt zurück:
      the searched value or default return value
    • getOrDefault

      float getOrDefault(long key, float defaultValue)
      A Type Specific getOrDefault method to reduce boxing/unboxing
      Parameter:
      key - the key that is searched for
      defaultValue - the value that should be returned if the key is not present
      Gibt zurück:
      the searched value or defaultValue value
    • get

      @Deprecated default Float get(Object key)
      Veraltet.
      Angegeben von:
      get in Schnittstelle Map<Long,Float>
    • getOrDefault

      @Deprecated default Float getOrDefault(Object key, Float defaultValue)
      Veraltet.
      Angegeben von:
      getOrDefault in Schnittstelle Map<Long,Float>
    • replaceAll

      @Deprecated default void replaceAll(BiFunction<? super Long,? super Float,? extends Float> mappingFunction)
      Veraltet.
      Angegeben von:
      replaceAll in Schnittstelle Map<Long,Float>
    • compute

      @Deprecated default Float compute(Long key, BiFunction<? super Long,? super Float,? extends Float> mappingFunction)
      Veraltet.
      Angegeben von:
      compute in Schnittstelle Map<Long,Float>
    • computeIfAbsent

      @Deprecated default Float computeIfAbsent(Long key, Function<? super Long,? extends Float> mappingFunction)
      Veraltet.
      Angegeben von:
      computeIfAbsent in Schnittstelle Map<Long,Float>
    • computeIfPresent

      @Deprecated default Float computeIfPresent(Long key, BiFunction<? super Long,? super Float,? extends Float> mappingFunction)
      Veraltet.
      Angegeben von:
      computeIfPresent in Schnittstelle Map<Long,Float>
    • merge

      @Deprecated default Float merge(Long key, Float value, BiFunction<? super Float,? super Float,? extends Float> mappingFunction)
      Veraltet.
      Angegeben von:
      merge in Schnittstelle Map<Long,Float>
    • forEach

      void forEach(LongFloatConsumer action)
      Type Specific forEach method to reduce boxing/unboxing
      Parameter:
      action - processor of the values that are iterator over
    • forEach

      @Deprecated default void forEach(BiConsumer<? super Long,? super Float> action)
      Veraltet.
      Angegeben von:
      forEach in Schnittstelle Map<Long,Float>
    • keySet

      LongSet keySet()
      Angegeben von:
      keySet in Schnittstelle Map<Long,Float>
    • values

      FloatCollection values()
      Angegeben von:
      values in Schnittstelle Map<Long,Float>
    • entrySet

      Veraltet.
      Angegeben von:
      entrySet in Schnittstelle Map<Long,Float>
    • long2FloatEntrySet

      ObjectSet<Long2FloatMap.Entry> long2FloatEntrySet()
      Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
      Gibt zurück:
      a EntrySet of the collection
    • synchronize

      default Long2FloatMap synchronize()
      Creates a Wrapped Map that is Synchronized
      Gibt zurück:
      a new Map that is synchronized
      Siehe auch:
    • synchronize

      default Long2FloatMap synchronize(Object mutex)
      Creates a Wrapped Map that is Synchronized
      Parameter:
      mutex - is the controller of the synchronization block
      Gibt zurück:
      a new Map Wrapper that is synchronized
      Siehe auch:
    • unmodifiable

      default Long2FloatMap unmodifiable()
      Creates a Wrapped Map that is unmodifiable
      Gibt zurück:
      a new Map Wrapper that is unmodifiable
      Siehe auch:
    • put

      @Deprecated default Float put(Long key, Float value)
      Veraltet.
      Angegeben von:
      put in Schnittstelle Map<Long,Float>
    • putIfAbsent

      @Deprecated default Float putIfAbsent(Long key, Float value)
      Veraltet.
      Angegeben von:
      putIfAbsent in Schnittstelle Map<Long,Float>