Package com.aliucord.utils
Class MapUtils
-
- All Implemented Interfaces:
public final class MapUtils
-
-
Constructor Summary
Constructors Constructor Description MapUtils()
-
Method Summary
-
-
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 inval- The object to find the key of- Returns:
Key of mapping or null if no such mapping exists
-
-
-
-