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

Method toString

chapter16/src/main/java/com/seaofnodes/simple/Ary.java:183–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 @Override public String toString() {
184 StringBuilder sb = new StringBuilder().append('{');
185 for( int i=0; i<_len; i++ ) {
186 if( i>0 ) sb.append(',');
187 if( _es[i] != null ) sb.append(_es[i].toString());
188 }
189 return sb.append('}').toString();
190 }
191
192 private void range_check( int i ) {
193 if( i < 0 || i>=_len )

Callers 3

generateDotOutputMethod · 0.45
prettyPrintMethod · 0.45
prettyPrintScheduledMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected