import java.util.Arrays;
import java.util.List;
public class Array
{
List<String> animals = Arrays.asList(new String[] {"lion", "tiger", "bear"});
}
Thursday, June 26, 2008
java — quick list from array
Subscribe to:
Post Comments (Atom)
alexey bass alexbig albass алексей басс лёха фдучун ифыы אלכסיי בס
import java.util.Arrays;
import java.util.List;
public class Array
{
List<String> animals = Arrays.asList(new String[] {"lion", "tiger", "bear"});
}
No comments:
Post a Comment