Class MapHelper

java.lang.Object
de.s42.base.collections.MapHelper

public final class MapHelper extends Object
Author:
Benjamin.Schiller
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static class 
     
    (package private) static final class 
     
    (package private) static final class 
     
    (package private) static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final MapHelper.MapN<?,?>
     
    (package private) static final int
     
    private static final boolean
     
    private static final long
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of()
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7, KeyType k8, ValueType v8)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7, KeyType k8, ValueType v8, KeyType k9, ValueType v9)
     
    static <KeyType, ValueType>
    Map<KeyType, ValueType>
    of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7, KeyType k8, ValueType v8, KeyType k9, ValueType v9, KeyType k10, ValueType v10)
     
    (package private) static UnsupportedOperationException
    uoe()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • EMPTY_MAP

      static final MapHelper.MapN<?,?> EMPTY_MAP
    • SALT32L

      private static final long SALT32L
    • REVERSE

      private static final boolean REVERSE
    • EXPAND_FACTOR

      static final int EXPAND_FACTOR
      See Also:
  • Constructor Details

    • MapHelper

      private MapHelper()
  • Method Details

    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of()
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7, KeyType k8, ValueType v8)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7, KeyType k8, ValueType v8, KeyType k9, ValueType v9)
    • of

      public static <KeyType, ValueType> Map<KeyType, ValueType> of(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3, KeyType k4, ValueType v4, KeyType k5, ValueType v5, KeyType k6, ValueType v6, KeyType k7, ValueType v7, KeyType k8, ValueType v8, KeyType k9, ValueType v9, KeyType k10, ValueType v10)
    • uoe