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

Method toString

lib/java/nio/ByteBuffer.java:1048–1059  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1046 * @return a string representing the state of this byte buffer.
1047 */
1048 @Override
1049 public String toString() {
1050 StringBuilder buf = new StringBuilder();
1051 buf.append(getClass().getName());
1052 buf.append(", status: capacity="); //$NON-NLS-1$
1053 buf.append(capacity());
1054 buf.append(" position="); //$NON-NLS-1$
1055 buf.append(position());
1056 buf.append(" limit="); //$NON-NLS-1$
1057 buf.append(limit());
1058 return buf.toString();
1059 }
1060}

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