Class MapUtils

  • All Implemented Interfaces:

    
    public final class MapUtils
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MapUtils()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static <K, V> K getMapKey(@NonNull() Map<K, V> map, @Nullable() V val) Finds the mapping key for Object val where Objects.equals(val, entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapUtils

        MapUtils()
    • Method Detail

      • getMapKey

        @Nullable() static <K, V> K getMapKey(@NonNull() Map<K, V> map, @Nullable() V val)

        Finds the mapping key for Object val where Objects.equals(val, entry.value)

        Parameters:
        map - The map to find the Object in
        val - The object to find the key of