MCPcopy Create free account
hub / github.com/apache/calcite / asList

Method asList

core/src/main/java/org/apache/calcite/util/IntList.java:60–63  ·  view source on GitHub ↗

Returns a list backed by an array of primitive int values. The behavior is analogous to Arrays#asList(Object[]). Changes to the list are reflected in the array. The list cannot be extended. @param args Array of primitive int values @return List backed by array

(final int[] args)

Source from the content-addressed store, hash-verified

58 * @return List backed by array
59 */
60 @Deprecated // to be removed before 2.0
61 public static List<Integer> asList(final int[] args) {
62 return Ints.asList(args);
63 }
64
65 public ImmutableIntList asImmutable() {
66 return ImmutableIntList.copyOf(this);

Callers 15

testPsInfoParsingMethod · 0.45
checkResultUnorderedMethod · 0.45
setUpMethod · 0.45
getPigGroupByMethod · 0.45
getPigGenerateCallMethod · 0.45
createRddMethod · 0.45
testSqlNodeListMethod · 0.45
SqlAdvisorTestClass · 0.45
testGroupMethod · 0.45
testSelectListMethod · 0.45
testOrderByListMethod · 0.45

Calls

no outgoing calls

Tested by 15

testPsInfoParsingMethod · 0.36
checkResultUnorderedMethod · 0.36
setUpMethod · 0.36
testSqlNodeListMethod · 0.36
testGroupMethod · 0.36
testSelectListMethod · 0.36
testOrderByListMethod · 0.36
testSubQueryMethod · 0.36
generateComplexTypesMethod · 0.36
testWriterMethod · 0.36