MCPcopy Create free account
hub / github.com/davidgiven/luje / asList

Method asList

lib/java/util/Arrays.java:164–166  ·  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

162 * @return a {@code List} of the elements of the specified array.
163 */
164 public static <T> List<T> asList(T... array) {
165 return new ArrayList<T>(array);
166 }
167
168 /**
169 * Performs a binary search for the specified element in the specified

Callers 2

addAllMethod · 0.95
addAllMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected