Java List Print print(List A, String mode)

Here you can find the source of print(List A, String mode)

Description

print

License

Open Source License

Declaration

public static void print(List<?> A, String mode) 

Method Source Code

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

import java.util.List;

public class Main {
    public static void print(int[] A) {
        for (int i = 0; i < A.length; i++) {
            System.out.print(A[i] + "\t");
        }/*from w w w .j  a v a2s  .c  o  m*/
        System.out.println();
    }

    public static void print(List<?> A, String mode) {
        for (int i = 0; i < A.size(); i++) {
            System.out.print(A.get(i) + mode);
        }
        System.out.println();
    }

    public static void print(List<?> A) {
        print(A, "\t");
    }
}

Related

  1. prettyPrintWarningMessage(final List results, final String message)
  2. prettyRoleOutput(List roles, final String delimiter)
  3. print(Collection> collections)
  4. print(int totalErrors, int totalTechnical, int totalSuccess, List filesWithErrorsList)
  5. print(Iterable list)
  6. print(List items)
  7. print(List list)
  8. print(List list)
  9. print(List list)