MCPcopy Create free account
hub / github.com/CyanogenMod/android_libcore / asList

Method asList

luni/src/main/java/java/util/Arrays.java:153–156  ·  view source on GitHub ↗

Returns a List of the objects in the specified array. The size of the List cannot be modified, i.e. adding and removing are unsupported, but the elements can be set. Setting an element modifies the underlying array. @param array the array. @return a List of the el

(T... array)

Source from the content-addressed store, hash-verified

151 * @return a {@code List} of the elements of the specified array.
152 */
153 @SafeVarargs
154 public static <T> List<T> asList(T... array) {
155 return new ArrayList<T>(array);
156 }
157
158 /**
159 * Performs a binary search for {@code value} in the ascending sorted array {@code array}.

Callers 15

test_getSupportedMethod · 0.95
testGetFullChainMethod · 0.95
assertValidPinnedMethod · 0.95
assertAliasesMethod · 0.95
chooseAliasMethod · 0.95
checkTrustedMethod · 0.95
getExtendedKeyUsageMethod · 0.95
OpenSSLX509CertPathClass · 0.95

Calls

no outgoing calls

Tested by 15

test_getSupportedMethod · 0.76
testGetFullChainMethod · 0.76
assertValidPinnedMethod · 0.76
assertAliasesMethod · 0.76
arrayMethod · 0.76
testJoinMethod · 0.76
testJoinWithNullMethod · 0.76