Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.Arrays;

import java.util.List;
import java.util.Map;

public class Main {
    public static List getMapKey(Map map) {
        Object[] arr = map.keySet().toArray();
        return Arrays.asList(arr);
    }
}