MCPcopy Create free account

hub / github.com/Berkeley-CS61B/lectureCode-sp18 / functions

Functions306 in github.com/Berkeley-CS61B/lectureCode-sp18

MethodIntList
(int f, IntList r)
exercises/lists1/IntList.java:5
MethodKeyIterator
()
syntax3/accessControl/syntax3/map/ArrayMap.java:32
MethodKeyIterator
()
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:32
MethodMyonicArrayMap
(int s)
syntax3/accessControl/syntax3/map/MyonicArrayMap.java:7
MethodMyonicArrayMap
(int s)
exercises/DIY/syntax3/accessControl/syntax3/map/MyonicArrayMap.java:7
MethodNode
(Blorp i, Node h)
inheritance2/SLList.java:9
MethodNode
(Blorp i, Node h)
inheritance1/SLList.java:9
MethodNode
(Blorp i, Node h)
exercises/DIY/inheritance2/SLList.java:9
MethodNode
(Blorp i, Node h)
exercises/DIY/inheritance4/SLList.java:9
MethodSLList
Creates an empty list.
inheritance2/SLList.java:19
MethodSLList
Creates an empty SLList.
lists2/SLList.java:25
MethodSLList
(LochNess x)
lists3/SLList.java:17
MethodSLList
Creates an empty list.
inheritance1/SLList.java:19
MethodSLList
Creates an empty list.
exercises/DIY/inheritance2/SLList.java:19
MethodSLList
Creates an empty list.
exercises/DIY/inheritance4/SLList.java:19
MethodSLList
Creates an empty SLList.
lists4/speedtest/SLList.java:19
MethodStuffNode
(LochNess i, StuffNode n)
lists3/SLList.java:8
MethodStuffNode
(Blah i, StuffNode n)
lists4/speedtest/SLList.java:8
MethodVengefulSLList
()
inheritance2/VengefulSLList.java:6
MethodaddFirst
Inserts an item at the front.
inheritance2/List61B.java:37
MethodaddFirst
Adds x to the front of the list.
lists2/SLList.java:37
MethodaddFirst
(Item x)
inheritance1/AList.java:83
MethodaddFirst
Inserts an item at the front.
inheritance1/List61B.java:37
MethodaddFirst
Inserts an item at the front.
exercises/DIY/inheritance2/List61B.java:37
MethodaddFirst
(Item x)
exercises/DIY/inheritance4/AList.java:83
MethodaddLast
Puts an item at the back of the list.
inheritance2/SLList.java:44
MethodaddLast
Inserts X into the back of the list.
inheritance2/List61B.java:5
MethodaddLast
Adds an item to the end of the list.
lists3/SLList.java:34
MethodaddLast
Inserts X into the back of the list.
inheritance1/List61B.java:5
MethodaddLast
Puts an item at the back of the list.
exercises/DIY/inheritance2/SLList.java:44
MethodaddLast
Inserts X into the back of the list.
exercises/DIY/inheritance2/List61B.java:5
MethodaddLast
Puts an item at the back of the list.
exercises/DIY/inheritance4/SLList.java:44
MethodaddLast
(Item x)
exercises/DIY/inheritance4/AList.java:28
MethodaddLast
Adds x to the end of the list.
lists4/speedtest/SLList.java:42
Methodapply
Returns ten times the argument.
inheritance2/TenX.java:6
Methodbark
()
inheritance3/Dog.java:19
MethodcleanString
Returns a lower case version of the string with all characters except letters removed.
exercises/DIY/inheritance4/DemoCollections.java:12
MethodcollectWordCount
Returns a map (a.k.a. dictionary) that tracks the count of all specified target words in words.
exercises/DIY/inheritance4/DemoCollections.java:28
Methodcompare
(T x1, T x2)
inheritance3/Comparator.java:5
MethodcontainsKey
(K key)
syntax3/accessControl/syntax3/map/Map61B.java:6
MethodcontainsKey
(K key)
syntax3/accessControl/syntax3/map/ArrayMap.java:60
MethodcontainsKey
(K key)
exercises/DIY/syntax3/accessControl/syntax3/map/Map61B.java:6
MethodcontainsKey
(K key)
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:60
MethodcontainsKey
(K key)
exercises/DIY/syntax1/ArrayMap.java:25
MethodcountUniqueWords
Returns the count of the number of unique words in words.
exercises/DIY/inheritance4/DemoCollections.java:22
MethoddincrList
Returns an IntList identical to L, but with each element incremented by x. Not allowed to use the 'new' keyword.
exercises/lists1/Lists1Exercises.java:13
Methodget
(K key)
syntax3/accessControl/syntax3/map/Map61B.java:10
Methodget
Gets the positionth item of the list.
inheritance2/SLList.java:96
Methodget
Gets the ith item in the list (0 is the front).
inheritance2/List61B.java:15
Methodget
Gets the positionth item of the list.
inheritance1/SLList.java:95
Methodget
Gets the ith item in the list (0 is the front).
inheritance1/List61B.java:15
Methodget
Returns the ith value in this list.
exercises/lists1/IntList.java:21
Methodget
(K key)
exercises/DIY/syntax3/accessControl/syntax3/map/Map61B.java:10
Methodget
Gets the positionth item of the list.
exercises/DIY/inheritance2/SLList.java:95
Methodget
Gets the ith item in the list (0 is the front).
exercises/DIY/inheritance2/List61B.java:15
Methodget
(K key)
exercises/DIY/syntax1/ArrayMap.java:33
Methodget
Gets the positionth item of the list.
exercises/DIY/inheritance4/SLList.java:95
Methodget
Gets the ith item in the list (0 is the front).
exercises/DIY/inheritance4/List61B.java:15
Methodget
Gets the ith item in the list (0 is the front).
lists4/speedtest/AList.java:47
MethodgetFirst
Gets an item from the front.
inheritance2/List61B.java:42
MethodgetFirst
Returns the first item in the list.
lists2/SLList.java:43
MethodgetFirst
Returns the first item in the list.
lists3/SLList.java:29
MethodgetFirst
()
inheritance1/AList.java:89
MethodgetFirst
Gets an item from the front.
inheritance1/List61B.java:42
MethodgetFirst
Gets an item from the front.
exercises/DIY/inheritance2/List61B.java:42
MethodgetFirst
()
exercises/DIY/inheritance4/AList.java:89
MethodgetFirst
Gets an item from the front.
exercises/DIY/inheritance4/List61B.java:42
MethodgetFirst
Returns the first item in the list.
lists4/speedtest/SLList.java:37
MethodgetLast
Returns last item
inheritance2/SLList.java:69
MethodgetLast
Returns the item from the back of the list.
inheritance2/List61B.java:10
MethodgetLast
Returns last item
inheritance1/SLList.java:69
MethodgetLast
Returns the item from the back of the list.
inheritance1/List61B.java:10
MethodgetLast
Returns last item
exercises/DIY/inheritance2/SLList.java:69
MethodgetLast
Returns the item from the back of the list.
exercises/DIY/inheritance2/List61B.java:10
MethodgetLast
Returns last item
exercises/DIY/inheritance4/SLList.java:69
MethodgetLast
Returns the item from the back of the list.
exercises/DIY/inheritance4/List61B.java:10
MethodhasNext
()
syntax3/accessControl/syntax3/map/ArrayMap.java:36
MethodhasNext
()
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:36
MethodincrList
Returns an IntList identical to L, but with each element incremented by x. L is not allowed to change.
exercises/lists1/Lists1Exercises.java:5
Methodinsert
Inserts item into given position. Code from discussion #3
inheritance2/SLList.java:111
Methodinsert
Inserts item into given position. Code from discussion #3
inheritance2/List61B.java:32
Methodinsert
Inserts item into given position. Code from discussion #3
inheritance1/SLList.java:110
Methodinsert
Inserts item into given position. Code from discussion #3
inheritance1/List61B.java:32
Methodinsert
Inserts item into given position. Code from discussion #3
exercises/DIY/inheritance2/SLList.java:110
Methodinsert
Inserts item into given position. Code from discussion #3
exercises/DIY/inheritance2/List61B.java:32
Methodinsert
Inserts item into given position. Code from discussion #3
exercises/DIY/inheritance4/SLList.java:110
Methodinsert
Inserts item into given position. Code from discussion #3
exercises/DIY/inheritance4/List61B.java:32
MethoditerativeSize
Return the size of the list using no recursion!
lists1/IntList.java:19
MethoditerativeSize
Return the size of the list using no recursion!
lists2/IntList.java:19
MethodkeyIndex
Returns the index of the given key if it exists, -1 otherwise.
exercises/DIY/syntax1/ArrayMap.java:20
Methodkeys
()
syntax3/accessControl/syntax3/map/Map61B.java:19
Methodkeys
()
syntax3/accessControl/syntax3/map/ArrayMap.java:88
Methodkeys
()
exercises/DIY/syntax3/accessControl/syntax3/map/Map61B.java:19
Methodkeys
()
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:88
Methodkeys
()
exercises/DIY/syntax1/ArrayMap.java:41
MethodlectureQuestion
()
lists2/SLList.java:19
Methodmain
(String[] args)
syntax3/accessControl/syntax3/map/MyonicArrayMap.java:11
Methodmain
(String[] args)
syntax3/accessControl/syntax3/map/ExceptionDemo.java:4
Methodmain
(String[] args)
syntax3/accessControl/syntax3/map/ArrayMap.java:104
Methodmain
(String[] args)
syntax3/accessControl/syntax3/map/IterationDemo.java:6
← previousnext →101–200 of 306, ranked by callers