MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / asList

Method asList

runt/apis/cldc-compact/java/util/Arrays.java:49–59  ·  view source on GitHub ↗

Wraps the specified array allowing access to its data as a fixed size list. The returned List will have RandomAccess implemented. @param The type of values contained within the array. @param __a The array to wrap. @return The specified array wrapped in a List. @throws Nu

(T... __a)

Source from the content-addressed store, hash-verified

47 * @since 2016/08/31
48 */
49 @SuppressWarnings({"unchecked"})
50 public static <T> List<T> asList(T... __a)
51 throws NullPointerException
52 {
53 // Check
54 if (__a == null)
55 throw new NullPointerException("NARG");
56
57 // Wrap it
58 return new __ArraysList__<T>(__a);
59 }
60
61 public static int binarySearch(long[] __a, long __b)
62 {

Callers 15

__compileStepMethod · 0.95
PCFFontMethod · 0.95
getJavaFileObjectsMethod · 0.95
getLocationMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
NewManifestClass · 0.95
iteratorMethod · 0.95
valuesAsListMethod · 0.95
DependencyInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected