Java List Create createStringDummyList()

Here you can find the source of createStringDummyList()

Description

create String Dummy List

License

Open Source License

Declaration

public static ArrayList<String> createStringDummyList() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.ArrayList;

public class Main {
    public static ArrayList<String> createStringDummyList() {
        ArrayList<String> stringList = new ArrayList<>();

        stringList.add("abc");
        stringList.add("abc1");
        stringList.add("abc2");
        stringList.add("abc3");
        stringList.add("abc4");
        stringList.add("abc5");

        return stringList;
    }/*from  w w w  .ja v a  2  s.c  om*/
}

Related

  1. createReleasesString(List tagsList)
  2. createResponse(String inputLabel, List imageLabels)
  3. createSingletonList(T element)
  4. createSourceExtensionList(Map sourceExtensionMap)
  5. createSpaceDelimitedString(List stringList)
  6. createStringFromIntArray( List listOfNumbers)
  7. createStringFromIntegerList(List lst)
  8. CreateStringList(Collection values)
  9. createStringList(String csvString)