MCPcopy Create free account
hub / github.com/davidgiven/luje / toString

Method toString

lib/java/nio/LongBuffer.java:526–537  ·  view source on GitHub ↗

Returns a string representing the state of this long buffer. @return a string representing the state of this long buffer.

()

Source from the content-addressed store, hash-verified

524 * @return a string representing the state of this long buffer.
525 */
526 @Override
527 public String toString() {
528 StringBuilder buf = new StringBuilder();
529 buf.append(getClass().getName());
530 buf.append(", status: capacity="); //$NON-NLS-1$
531 buf.append(capacity());
532 buf.append(" position="); //$NON-NLS-1$
533 buf.append(position());
534 buf.append(" limit="); //$NON-NLS-1$
535 buf.append(limit());
536 return buf.toString();
537 }
538}

Callers

nothing calls this directly

Calls 7

appendMethod · 0.95
toStringMethod · 0.95
getClassMethod · 0.80
positionMethod · 0.80
limitMethod · 0.80
getNameMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected