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

Method toString

lib/java/nio/ShortBuffer.java:525–536  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

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