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

Method pobj

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

Source from the content-addressed store, hash-verified

49 // Not spelled "p" on purpose: too easy to accidentally say "p(1.0)" and
50 // suddenly call the autoboxed version.
51 public SB pobj( Object s ) { _sb.append(s.toString()); return this; }
52 public SB i( int d ) { for( int i=0; i<d+_indent; i++ ) p(" "); return this; }
53 public SB i( ) { return i(0); }
54 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