MCPcopy Index your code
hub / github.com/apache/groovy / subTuple

Method subTuple

src/main/java/groovy/lang/Tuple.java:120–122  ·  view source on GitHub ↗

Returns a tuple containing the specified range of elements. @param fromIndex the start index, inclusive @param toIndex the end index, exclusive @return the requested subtuple

(int fromIndex, int toIndex)

Source from the content-addressed store, hash-verified

118 * @return the requested subtuple
119 */
120 public Tuple<E> subTuple(int fromIndex, int toIndex) {
121 return (Tuple<E>) subList(fromIndex, toIndex);
122 }
123
124 /**
125 * {@inheritDoc}

Callers 10

testSubTupleMethod · 0.80
testTuple1Method · 0.80
testTuple2Method · 0.80
testTuple3Method · 0.80
testTuple4Method · 0.80
testTuple5Method · 0.80
testTuple6Method · 0.80
testTuple7Method · 0.80
testTuple8Method · 0.80
testTuple9Method · 0.80

Calls 1

subListMethod · 0.95

Tested by 10

testSubTupleMethod · 0.64
testTuple1Method · 0.64
testTuple2Method · 0.64
testTuple3Method · 0.64
testTuple4Method · 0.64
testTuple5Method · 0.64
testTuple6Method · 0.64
testTuple7Method · 0.64
testTuple8Method · 0.64
testTuple9Method · 0.64