Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.Map;

public class Main {
    public static boolean isCheckMapState(Map<String, String> value) {
        if (value == null) {
            return false;
        }
        if (value.isEmpty()) {
            return false;

        }
        if (value.containsKey("status") && value.get("status").equals("0")) {
            return true;
        } else {
            return false;
        }

    }
}