Class MapUtils

java.lang.Object
org.litebridgedb.commons.MapUtils

public final class MapUtils extends Object
  • Method Details

    • containsKey

      public static boolean containsKey(Object key, @Nullable Map<?,?> map)
      Checks if the specified key is present in the given map.
      Parameters:
      key - the key to check for in the map
      map - the map in which to look for the key; can be null.
      Returns:
      true if the the map is not null and the key is present, otherwise false.