Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import java.util.Map;
import java.util.Set;

public class Main {

    private static String getStrInMapIgnoreCase(String key, Map<String, Object> map) {
        Set<String> keySet = map.keySet();
        for (String keyInMap : keySet) {
            if (key.equalsIgnoreCase(keyInMap)) {
                return keyInMap;
            }
        }
        return null;
    }
}