Java List to String toString(List list)

Here you can find the source of toString(List list)

Description

to String

License

Open Source License

Declaration

private static String toString(List<Character> list) 

Method Source Code

//package com.java2s;

import java.util.List;

public class Main {
    private static String toString(List<Character> list) {
        StringBuffer buffer = new StringBuffer();

        for (Character character : list) {
            buffer.append(character);/*from   w  w  w.j ava  2s  .  co  m*/
        }

        return buffer.toString();
    }
}

Related

  1. toString(List list)
  2. toString(List list, char sep)
  3. toString(List list, String separator)
  4. toString(List objects)
  5. toString(List c)
  6. toString(List> classes)
  7. toString(List> values)
  8. toString(List listOriginal)
  9. toString(List input, String sep)

  10. HOME | Copyright © www.java2s.com 2016