Example usage for org.apache.commons.collections15 MultiMap isEmpty

List of usage examples for org.apache.commons.collections15 MultiMap isEmpty

Introduction

In this page you can find the example usage for org.apache.commons.collections15 MultiMap isEmpty.

Prototype

boolean isEmpty();

Source Link

Document

Returns true if this map contains no key-value mappings.

Usage

From source file:org.echocat.jomon.runtime.CollectionUtils.java

public static boolean isNotEmpty(@Nullable MultiMap<?, ?> map) {
    return map != null && !map.isEmpty();
}

From source file:org.echocat.jomon.runtime.CollectionUtils.java

public static boolean isEmpty(@Nullable MultiMap<?, ?> map) {
    return map == null || map.isEmpty();
}