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

Method pobj

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

Source from the content-addressed store, hash-verified

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