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

Method toString

lib/java/nio/CharBuffer.java:687–694  ·  view source on GitHub ↗

Returns a string representing the current remaining chars of this buffer. @return a string representing the current remaining chars of this buffer.

()

Source from the content-addressed store, hash-verified

685 * @return a string representing the current remaining chars of this buffer.
686 */
687 @Override
688 public String toString() {
689 StringBuilder strbuf = new StringBuilder();
690 for (int i = position; i < limit; i++) {
691 strbuf.append(get(i));
692 }
693 return strbuf.toString();
694 }
695
696 /**
697 * Writes the given char to the current position and increases the position

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
getMethod · 0.95
toStringMethod · 0.95

Tested by

no test coverage detected