Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.HashSet;
import java.util.List;

import java.util.Set;

public class Main {
    /**
     * Interim method to get this code to compile against the 1.0-RC1 engine
     * @param key
     * @param list
     * @return
     */
    public static Set getSetFromList(List list) {
        return new HashSet(list);
    }
}