Java Array Print printMap1(String[] s)

Here you can find the source of printMap1(String[] s)

Description

print Map

License

Open Source License

Parameter

Parameter Description
classid 2-5

Declaration

public static List printMap1(String[] s) 

Method Source Code

//package com.java2s;

import java.util.Arrays;

import java.util.LinkedList;
import java.util.List;

public class Main {

    public static List printMap1(String[] s) {
        List<String> list = new LinkedList<String>();
        List<String> list2 = Arrays.asList(s);
        list.addAll(list2);//from w w  w .  j  av a 2  s  .co m
        return list;

    }
}

Related

  1. printfirstBytes(String comment, byte[] input)
  2. printFloatArray(float[] arr)
  3. printFloatArray(float[] array)
  4. println(int[] array)
  5. println(Object[] objs)
  6. printOutArrayProperty(String key, E[] property, boolean isDefault)
  7. printParameterMap(Map parameters)
  8. printPoint(double[] ds)
  9. printUsage(String[] args)