Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public class Main {
    public static String getApplyStatus(List<Map<String, String>> certificdetals) {
        String state = "00";
        if (null == certificdetals || certificdetals.size() <= 0) {
            return state;
        }

        int size = certificdetals.size();
        Map<String, String> CERTIFICDETAL = new LinkedHashMap<String, String>();
        CERTIFICDETAL = certificdetals.get(size - 1);

        if (null != CERTIFICDETAL) {
            state = CERTIFICDETAL.get("CERTIFICSTATUS");
        }
        return state;
    }
}