MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp21 / of

Method of

lab2/IntList/IntList.java:60–66  ·  view source on GitHub ↗

Method to create an IntList from an argument list. You don't have to understand this code. We have it here because it's convenient with testing. It's used like this: IntList myList = IntList.of(1, 2, 3, 4, 5); will create an IntList 1 -> 2 -> 3 -> 4 -> 5 -> null. You can pass in any number of argu

(int ...argList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

testZeroOutFELMaxes1Method · 0.95
testZeroOutFELMaxes2Method · 0.95
testZeroOutFELMaxes3Method · 0.95
testAddConstantOneMethod · 0.95
testAddConstantTwoMethod · 0.95
testAddToLargeListMethod · 0.95

Calls

no outgoing calls

Tested by 7

testZeroOutFELMaxes1Method · 0.76
testZeroOutFELMaxes2Method · 0.76
testZeroOutFELMaxes3Method · 0.76
testAddConstantOneMethod · 0.76
testAddConstantTwoMethod · 0.76
testAddToLargeListMethod · 0.76