MCPcopy Index your code
hub / github.com/bazelbuild/bazel / triple

Method triple

src/main/java/net/starlark/java/eval/Tuple.java:99–102  ·  view source on GitHub ↗

Returns a three-element tuple.

(Object a, Object b, Object c)

Source from the content-addressed store, hash-verified

97
98 /** Returns a three-element tuple. */
99 public static Tuple triple(Object a, Object b, Object c) {
100 // Equivalent to of(a, b, c) but avoids variadic array allocation.
101 return wrap(new Object[] {a, b, c});
102 }
103
104 /** Returns a tuple that is the concatenation of two tuples. */
105 public static Tuple concat(Tuple x, Tuple y) {

Callers 1

partitionCommonMethod · 0.95

Calls 1

wrapMethod · 0.95

Tested by

no test coverage detected