MCPcopy Create free account
hub / github.com/apache/commons-lang / toString

Method toString

src/main/java/org/apache/commons/lang3/tuple/Pair.java:243–246  ·  view source on GitHub ↗

Returns a String representation of this pair using the format (left,right). @return a string describing this object, not null.

()

Source from the content-addressed store, hash-verified

241 * @return a string describing this object, not null.
242 */
243 @Override
244 public String toString() {
245 return "(" + getLeft() + ',' + getRight() + ')';
246 }
247
248 /**
249 * Formats the receiver using the given format.

Callers 3

getStackTraceMethod · 0.45

Calls 3

getLeftMethod · 0.95
getRightMethod · 0.95
formatMethod · 0.65

Tested by

no test coverage detected