Package 

Class MapUtils

    • 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
    • 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