MCPcopy Create free account

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

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

↓ 14 callersMethodput
(K key, V value)
syntax3/accessControl/syntax3/map/ArrayMap.java:65
↓ 14 callersMethodput
(K key, V value)
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:65
↓ 13 callersMethodaddLast
Inserts X into the back of the list.
exercises/DIY/inheritance4/List61B.java:5
↓ 11 callersMethodaddLast
Inserts X into the back of the list.
exercises/lists4/AList.java:11
↓ 11 callersMethodaddLast
Inserts X into the back of the list.
lists4/AList.java:33
↓ 9 callersMethodget
(K key)
exercises/DIY/syntax1/Map61B.java:10
↓ 9 callersMethodput
(K key, V value)
exercises/DIY/syntax1/ArrayMap.java:29
↓ 7 callersMethodprint
Prints the list. Works for ANY kind of list.
exercises/DIY/inheritance4/List61B.java:45
↓ 6 callersMethodget
Gets the ith item in the list (0 is the front).
exercises/lists4/AList.java:19
↓ 6 callersMethodget
Gets the ith item in the list (0 is the front).
lists4/AList.java:47
↓ 5 callersMethodgetLast
Returns the item from the back of the list.
lists4/AList.java:43
↓ 5 callersMethodsize
()
exercises/DIY/syntax1/Map61B.java:13
↓ 4 callersMethodaddLast
Puts an item at the back of the list.
inheritance1/SLList.java:44
↓ 4 callersMethodcompareTo
(Dog uddaDog)
inheritance3/Dog.java:10
↓ 4 callersMethodgetLast
Returns the item from the back of the list.
exercises/lists4/AList.java:15
↓ 3 callersMethodaddLast
(Item x)
inheritance1/AList.java:28
↓ 3 callersMethodfindSmallest
Return the index of the smallest String in x, starting at start.
testing/Sort.java:25
↓ 3 callersMethodkeyIndex
Returns the index of the given key if it exists, -1 otherwise.
syntax3/accessControl/syntax3/map/ArrayMap.java:51
↓ 3 callersMethodkeyIndex
Returns the index of the given key if it exists, -1 otherwise.
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:51
↓ 3 callersMethodsize
Returns the number of items in the list.
exercises/lists4/AList.java:24
↓ 3 callersMethodsize
Returns the number of items in the list.
lists4/AList.java:52
↓ 2 callersMethodaddFirst
Adds an item of the front.
inheritance1/SLList.java:31
↓ 2 callersMethodapply
(int x)
inheritance2/IntUnaryFunction.java:6
↓ 2 callersMethodcontainsKey
(K key)
exercises/DIY/syntax1/Map61B.java:6
↓ 2 callersMethodget
(Map61B<K, V> sim, K key)
syntax3/accessControl/syntax3/map/MapHelper.java:16
↓ 2 callersMethodget
(K key)
syntax3/accessControl/syntax3/map/ArrayMap.java:76
↓ 2 callersMethodget
(Map61B<K, V> sim, K key)
exercises/DIY/syntax3/accessControl/syntax3/map/MapHelper.java:16
↓ 2 callersMethodget
(K key)
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:76
↓ 2 callersMethodgetLastNode
Returns the back node of our list.
inheritance2/SLList.java:58
↓ 2 callersMethodgetLastNode
Returns the back node of our list.
inheritance1/SLList.java:58
↓ 2 callersMethodgetLastNode
Returns the back node of our list.
exercises/DIY/inheritance2/SLList.java:58
↓ 2 callersMethodgetLastNode
Returns the back node of our list.
exercises/DIY/inheritance4/SLList.java:58
↓ 2 callersMethoditerativeSize
Return the size of the list using no recursion!
exercises/lists1/IntList.java:16
↓ 2 callersMethodkeys
()
exercises/DIY/syntax1/Map61B.java:19
↓ 2 callersMethodremoveLast
()
inheritance2/VengefulSLList.java:15
↓ 2 callersMethodremoveLast
Deletes item from back of the list and returns deleted item.
exercises/DIY/inheritance4/List61B.java:26
↓ 2 callersMethodrotateRight
Rotates list to the right.
inheritance2/RotatingSLList.java:7
↓ 2 callersMethodswap
Swap item a with b.
testing/Sort.java:18
↓ 1 callersMethodIntNode
(int i, IntNode n)
lists2/SLList.java:8
↓ 1 callersMethodaddFirst
Adds an item of the front.
inheritance2/SLList.java:31
↓ 1 callersMethodaddFirst
Adds x to the front of the list.
lists3/SLList.java:23
↓ 1 callersMethodaddFirst
Adds an item of the front.
exercises/DIY/inheritance2/SLList.java:31
↓ 1 callersMethodaddFirst
Adds an item of the front.
exercises/DIY/inheritance4/SLList.java:31
↓ 1 callersMethodaddFirst
Inserts an item at the front.
exercises/DIY/inheritance4/List61B.java:37
↓ 1 callersMethodaddFirst
Adds x to the front of the list.
lists4/speedtest/SLList.java:31
↓ 1 callersMethodaddLast
Adds x to the end of the list.
lists2/SLList.java:48
↓ 1 callersMethodaddLast
Inserts X into the back of the list.
lists4/speedtest/AList.java:33
↓ 1 callersMethoddo_twice
(IntUnaryFunction f, int x)
inheritance2/HoFDemo.java:6
↓ 1 callersMethodequals
(Object o)
syntax3/objectMethods/objectMethods/Date.java:14
↓ 1 callersMethodequals
(Object o)
exercises/DIY/syntax3/objectMethods/objectMethods/Date.java:14
↓ 1 callersMethodget
Returns the ith item of this IntList.
lists1/IntList.java:30
↓ 1 callersMethodget
Returns the ith item of this IntList.
lists2/IntList.java:30
↓ 1 callersMethodget
(int i)
inheritance1/AList.java:46
↓ 1 callersMethodget
(int i)
exercises/DIY/inheritance4/AList.java:46
↓ 1 callersMethodgetFirst
Gets the front item of the list.
inheritance2/SLList.java:39
↓ 1 callersMethodgetFirst
Gets the front item of the list.
inheritance1/SLList.java:39
↓ 1 callersMethodgetFirst
Gets the front item of the list.
exercises/DIY/inheritance2/SLList.java:39
↓ 1 callersMethodgetFirst
Gets the front item of the list.
exercises/DIY/inheritance4/SLList.java:39
↓ 1 callersMethodgetLast
()
inheritance1/AList.java:39
↓ 1 callersMethodgetLast
()
exercises/DIY/inheritance4/AList.java:39
↓ 1 callersMethodgetLast
Returns the item from the back of the list.
lists4/speedtest/AList.java:43
↓ 1 callersMethodgetWords
Gets a list of all words in the file.
exercises/DIY/inheritance4/DemoCollections.java:17
↓ 1 callersMethodinsert
(Item x, int position)
inheritance1/AList.java:70
↓ 1 callersMethodinsert
(Item x, int position)
exercises/DIY/inheritance4/AList.java:70
↓ 1 callersMethoditerator
()
syntax3/accessControl/syntax3/map/ArrayMap.java:25
↓ 1 callersMethoditerator
()
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:25
↓ 1 callersFunctionlarger
Returns the larger of x and y.
intro1/larger.py:1
↓ 1 callersMethodlarger
Returns the larger of x and y.
intro1/LargerDemo.java:3
↓ 1 callersMethodlongest
Returns the length of the longest word.
inheritance1/WordUtils.java:3
↓ 1 callersMethodmakeNoise
()
intro2/Dog.java:10
↓ 1 callersMethodmax
(Comparable[] items)
inheritance3/Maximizer.java:2
↓ 1 callersMethodmaxDog
(Dog d1, Dog d2)
intro2/Dog.java:20
↓ 1 callersMethodmaxKey
(Map61B<K, V> map)
syntax3/accessControl/syntax3/map/MapHelper.java:23
↓ 1 callersMethodmaxKey
(Map61B<K, V> map)
exercises/DIY/syntax3/accessControl/syntax3/map/MapHelper.java:23
↓ 1 callersMethodprint
TODO: Add a print method that overrides List61B's inefficient print method.
inheritance1/SLList.java:128
↓ 1 callersMethodprintLostItems
Prints deleted items.
inheritance2/VengefulSLList.java:23
↓ 1 callersMethodremoveLast
Deletes item from back of the list and returns deleted item.
exercises/lists4/AList.java:30
↓ 1 callersMethodremoveLast
Deletes item from back of the list and returns deleted item.
lists4/AList.java:58
↓ 1 callersMethodresize
Resize our backing array so that it is of the given capacity.
inheritance1/AList.java:22
↓ 1 callersMethodresize
Resize our backing array so that it is of the given capacity.
exercises/DIY/inheritance4/AList.java:22
↓ 1 callersMethodresize
Resizes the underlying array to the target capacity.
lists4/AList.java:26
↓ 1 callersMethodresize
Resizes the underlying array to the target capacity.
lists4/speedtest/AList.java:26
↓ 1 callersMethodsize
Returns the size of the list.
lists2/SLList.java:62
↓ 1 callersMethodsize
Return the size of the list using... recursion!
exercises/lists1/IntList.java:11
↓ 1 callersMethodsort
Sorts strings destructively.
testing/Sort.java:3
MethodAList
Creates an empty list.
inheritance1/AList.java:15
MethodAList
Creates an empty list.
exercises/DIY/inheritance4/AList.java:15
MethodAList
Creates an empty list.
exercises/lists4/AList.java:7
MethodAList
Creates an empty list.
lists4/AList.java:20
MethodAList
Creates an empty list.
lists4/speedtest/AList.java:20
MethodArrayMap
()
syntax3/accessControl/syntax3/map/ArrayMap.java:19
MethodArrayMap
()
exercises/DIY/syntax3/accessControl/syntax3/map/ArrayMap.java:19
MethodArrayMap
()
exercises/DIY/syntax1/ArrayMap.java:15
MethodDate
(int m, int d, int y)
syntax3/objectMethods/objectMethods/Date.java:8
MethodDate
(int m, int d, int y)
exercises/DIY/syntax3/objectMethods/objectMethods/Date.java:8
MethodDog
(String n, int s)
inheritance3/Dog.java:5
MethodDog
One integer constructor for dogs.
intro2/Dog.java:6
MethodDog
(String n, String b, double s)
exercises/DIY/inheritance4/ug/joshh/animal/Dog.java:8
MethodIntList
(int f, IntList r)
lists1/IntList.java:5
MethodIntList
(int f, IntList r)
lists2/IntList.java:5
next →1–100 of 306, ranked by callers