Code example for PrintStream

Methods: printf

      doBench(CRCS, System.out);
    private static void printCell(String s, int width, PrintStream out) {
      final int w = s.length() > width? s.length(): width;
      out.printf(" %" + w + "s |", s);
    private static void doBench(final Checksum[] crcs, final PrintStream out) {
      final ArrayList<Checksum> a = new ArrayList<Checksum>();
      for (Checksum c : crcs)
        if(c.getClass() != zip.getClass())
      doBench(a, out);
    private static void doBench(final List<Checksum> crcs, final PrintStream out
        ) { 
      final byte[] bytes = new byte[MAX_LEN];
Connect your IDE to all the code out there  Get Codota for Java