Java List Merge merge(List text)

Here you can find the source of merge(List text)

Description

merge

License

Open Source License

Declaration

public static String merge(List<String> text) 

Method Source Code

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

import java.util.List;

public class Main {
    public static String merge(List<String> text) {
        StringBuilder builder = new StringBuilder();

        for (String s : text) {
            builder.append(s);/*from w  ww  . ja va2s .c  o  m*/
        }

        return builder.toString();
    }
}

Related

  1. merge(List l1, List l2)
  2. merge(List l1, List l2)
  3. merge(List list)
  4. merge(List lst1, List lst2)
  5. merge(List stringList)
  6. merge(List a, List b)
  7. merge(List a, List b, Comparator comp)
  8. merge(List list)
  9. merge(List list, int split)