MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / pobj

Method pobj

chapter18/src/main/java/com/seaofnodes/simple/SB.java:34–34  ·  view source on GitHub ↗
( Object s )

Source from the content-addressed store, hash-verified

32 // Not spelled "p" on purpose: too easy to accidentally say "p(1.0)" and
33 // suddenly call the autoboxed version.
34 public SB pobj( Object s ) { _sb.append(s.toString()); return this; }
35 public SB i( int d ) { for( int i=0; i<d+_indent; i++ ) p(" "); return this; }
36 public SB i( ) { return i(0); }
37 public SB ip(String s) { return i().p(s); }

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected