Java org.apache.commons.collections4 MapUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4 MapUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4 MapUtils.

The text is from its open source code.

Field

SortedMapEMPTY_SORTED_MAP
An empty unmodifiable sorted map.

Method

MapemptyIfNull(final Map map)
Returns an immutable empty map if the argument is null, or the argument itself otherwise.
BooleangetBoolean(final Map map, final K key)
Gets a Boolean from a Map in a null-safe manner.
DoublegetDouble(final Map map, final K key)
Gets a Double from a Map in a null-safe manner.
IntegergetInteger(final Map map, final K key, final Integer defaultValue)
Looks up the given key in the given map, converting the result into an integer, using the default value if the the conversion fails.
intgetIntValue(final Map map, final K key, final int defaultValue)
Gets an int from a Map in a null-safe manner, using the default value if the the conversion fails.
VgetObject(final Map map, final K key)
Gets from a Map in a null-safe manner.
StringgetString(final Map map, final K key)
Gets a String from a Map in a null-safe manner.
MapinvertMap(final Map map)
Inverts the supplied map returning a new HashMap such that the keys of the input are swapped with the values.
booleanisEmpty(final Map map)
Null-safe check if the specified map is empty.
booleanisNotEmpty(final Map map)
Null-safe check if the specified map is not empty.
PropertiestoProperties(final Map map)
Gets a new Properties object initialised with the values from a Map.
MapunmodifiableMap(final Map map)
Returns an unmodifiable map backed by the given map.