Example usage for java.util AbstractMap isEmpty

List of usage examples for java.util AbstractMap isEmpty

Introduction

In this page you can find the example usage for java.util AbstractMap isEmpty.

Prototype

public boolean isEmpty() 

Source Link

Usage

From source file:Main.java

public static boolean isEmpty(AbstractMap map) {
    if (map == null) {
        return true;
    }/*from w w w .j  av a  2s.  co m*/
    return map.isEmpty();
}