Java Collection Print prettyPrint(Collection allGroups)

Here you can find the source of prettyPrint(Collection allGroups)

Description

pretty Print

License

LGPL

Declaration

public static String prettyPrint(Collection<String> allGroups) 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import java.util.Collection;

public class Main {
    public static String prettyPrint(Collection<String> allGroups) {
        String toString = allGroups.toString();
        return toString.substring(1, toString.length() - 1);
    }//  ww w.jav a 2  s .c o  m
}

Related

  1. prettyPrint(Collection c)
  2. prettyPrint(Collection input)
  3. prettyPrintCollection(Collection collection)
  4. prettyPrintListOfClasses( Collection package1DependenciesOnPackage2)
  5. print(Collection c)
  6. print(Collection c)