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

Method of

src/main/java/org/apache/commons/lang3/tuple/Triple.java:79–81  ·  view source on GitHub ↗

Obtains an immutable triple of three objects inferring the generic types. @param The left element type. @param The middle element type. @param The right element type. @param left the left element, may be null. @param middle the middle element, may be null. @param right the right eleme

(final L left, final M middle, final R right)

Source from the content-addressed store, hash-verified

77 * @return an immutable triple formed from the three parameters, not null.
78 */
79 public static <L, M, R> Triple<L, M, R> of(final L left, final M middle, final R right) {
80 return ImmutableTriple.of(left, middle, right);
81 }
82
83 /**
84 * Obtains an immutable triple of three non-null objects inferring the generic types.

Callers 9

testComparable1Method · 0.95
testComparable2Method · 0.95
testComparable3Method · 0.95
testComparable4Method · 0.95
testToStringMethod · 0.95
testToStringCustomMethod · 0.95
testTripleOfMethod · 0.95

Calls 1

ofMethod · 0.95

Tested by 9

testComparable1Method · 0.76
testComparable2Method · 0.76
testComparable3Method · 0.76
testComparable4Method · 0.76
testToStringMethod · 0.76
testToStringCustomMethod · 0.76
testTripleOfMethod · 0.76