MCPcopy
hub / github.com/kevin-wayne/algs4 / printf

Method printf

src/main/java/edu/princeton/cs/algs4/StdOut.java:281–284  ·  view source on GitHub ↗

Prints a formatted string to standard output, using the specified format string and arguments, and then flushes standard output. @param format the format string @param args the arguments accompanying the for

(String format, Object... args)

Source from the content-addressed store, hash-verified

279 * @param args the arguments accompanying the format string
280 */
281 public static void printf(String format, Object... args) {
282 out.printf(LOCALE, format, args);
283 out.flush();
284 }
285
286 /**
287 * Prints a formatted string to standard output, using the locale and

Callers 15

mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95

Calls 1

flushMethod · 0.45

Tested by 1

mainMethod · 0.76