OptionMap
public final class OptionMap< T>- Inheritance
ObjectOptionMap
Type parameters
<T>- the class of the map values
Methods5
static OptionMap<T> empty()
T get(String)
get
since 19.2public T get(String key)Returns the value to which the specified key is mapped, or null if this option map contains no mapping for the key.
Parameters
keyString- the key whose associated value is to be returned
Returns
T- the value to which the specified key is mapped, or
nullif this map contains no mapping for the key
Set<Map.Entry<String, T>> entrySet()
int hashCode()Described in hashCode().
boolean equals(Object)Described in equals(java.lang.Object).
equals
since 19.2public boolean equals(Object obj)Described in equals(java.lang.Object).
Parameters
objObject- No description.
Returns
boolean- No description.