Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
/**
 * This file is licensed under the University of Illinois/NCSA Open Source License. See LICENSE.TXT for details.
 */

import java.util.Arrays;

import java.util.HashSet;
import java.util.Set;

public class Main {
    public static Set<String> asSet(String... strs) {
        return new HashSet<String>(Arrays.asList(strs));
    }
}