Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Berkeley-CS61B/skeleton-sp23
/ functions
Functions
684 in github.com/Berkeley-CS61B/skeleton-sp23
⨍
Functions
684
◇
Types & classes
147
↓ 102 callers
Method
get
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
lab07/src/Map61B.java:17
↓ 90 callers
Method
put
Associates the specified value with the specified key in this map. If the map already contains the specified key, replaces the key's mapping with th
lab07/src/Map61B.java:13
↓ 84 callers
Method
get
The Deque abstract data type does not typically have a get method, but we've included this extra operation to provide you with some extra programming
proj1c/src/deque/Deque.java:69
↓ 84 callers
Method
of
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
lab02/src/common/IntList.java:31
↓ 66 callers
Method
containsKey
Returns whether this map contains a mapping for the specified key.
lab07/src/Map61B.java:20
↓ 62 callers
Method
size
Returns the number of key-value mappings in this map.
lab07/src/Map61B.java:24
↓ 37 callers
Function
r
(a,b)
proj2a/static/jquery.min.js:2
↓ 30 callers
Method
print
()
lab02/src/common/IntList.java:54
↓ 30 callers
Method
remove
Removes the mapping for the specified key from this map if present, or null if there is no such mapping. Not required for Lab 7. If you don't implemen
lab07/src/Map61B.java:37
↓ 24 callers
Method
getPattern
()
proj0/src/aoa/choosers/EvilChooser.java:21
↓ 23 callers
Method
makeGuess
(char letter)
proj0/src/aoa/choosers/EvilChooser.java:15
↓ 23 callers
Method
uniform
Returns a random real number uniformly in [0, 1). @return a random real number uniformly in [0, 1)
lab13/src/byowTools/RandomUtils.java:22
↓ 21 callers
Method
uniform
Returns a random real number uniformly in [0, 1). @return a random real number uniformly in [0, 1)
proj3/byow/Core/RandomUtils.java:22
↓ 19 callers
Method
of
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
lab03/src/common/IntList.java:31
↓ 19 callers
Method
sample
()
proj1c/src/gh2/GuitarString.java:49
↓ 16 callers
Function
b
(c,e)
proj2a/static/jquery.min.js:2
↓ 16 callers
Function
g
(b,c,d,e)
proj2a/static/jquery.min.js:2
↓ 16 callers
Function
la
(a,b)
proj2a/static/jquery.min.js:2
↓ 15 callers
Method
getGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/PatternAwareLetterFreqGuesser.java:14
↓ 15 callers
Method
isEmpty
Returns if the deque is empty. Does not alter the deque. @return {@code true} if the deque has no elements, {@code false} otherwise.
proj1c/src/deque/Deque.java:37
↓ 14 callers
Method
createBucketedMap
Returns a MyHashMap with the specified bucket type. @param bucketType the type of bucket to use
lab08/src/hashmap/MyHashMapFactory.java:18
↓ 13 callers
Method
size
Returns the size of the deque. Does not alter the deque. @return the number of items in the deque.
proj1c/src/deque/Deque.java:44
↓ 12 callers
Method
clear
Removes every mapping from this map.
lab07/src/Map61B.java:27
↓ 12 callers
Method
equals
(Object other)
lab02/src/common/IntList.java:39
↓ 12 callers
Method
getGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/PAGALetterFreqGuesser.java:14
↓ 11 callers
Function
e
(a,b)
proj2a/static/jquery.min.js:4
↓ 11 callers
Method
getNs
()
lab03/src/timing/TimingData.java:16
↓ 10 callers
Function
ga
(a,b,d,e)
proj2a/static/jquery.min.js:2
↓ 10 callers
Method
getResponses
()
lab03/src/adventure/AdventureStage.java:8
↓ 10 callers
Method
hashCode
()
lab08/tests/hashmap/TestMyHashMap.java:305
↓ 10 callers
Function
ia
(a)
proj2a/static/jquery.min.js:2
↓ 10 callers
Function
ja
(a)
proj2a/static/jquery.min.js:2
↓ 9 callers
Function
d
(a)
proj2a/static/jquery.min.js:3
↓ 9 callers
Function
h
(a)
proj2a/static/jquery.min.js:2
↓ 9 callers
Method
setSeed
Sets random seed to L so that results of randomString are predictable.
lab07/tests/StringUtils.java:15
↓ 8 callers
Function
S
(a,b,c,d,e,f,g)
proj2a/static/jquery.min.js:2
↓ 8 callers
Function
c
(a)
proj2a/static/jquery.min.js:4
↓ 8 callers
Method
tic
()
proj1c/src/gh2/GuitarString.java:42
↓ 7 callers
Function
I
(a,b)
proj2a/static/jquery.min.js:2
↓ 7 callers
Method
getPattern
()
proj0/src/aoa/choosers/RandomChooser.java:21
↓ 7 callers
Function
mb
(a)
proj2a/static/jquery.min.js:4
↓ 7 callers
Function
pa
(a)
proj2a/static/jquery.min.js:2
↓ 7 callers
Method
pluck
()
proj1c/src/gh2/GuitarString.java:28
↓ 7 callers
Method
validateNotNull
(Object x)
lab13/src/byowTools/RandomUtils.java:533
↓ 7 callers
Method
validateNotNull
(Object x)
proj3/byow/Core/RandomUtils.java:533
↓ 7 callers
Function
y
(a,b,c)
proj2a/static/jquery.min.js:2
↓ 6 callers
Function
f
(f,g,h,i,k)
proj2a/static/jquery.min.js:2
↓ 6 callers
Method
makeGuess
(char letter)
proj0/src/aoa/choosers/RandomChooser.java:15
↓ 6 callers
Function
wa
(a,b,c,d,e)
proj2a/static/jquery.min.js:2
↓ 5 callers
Function
Ha
(a,b,c,d)
proj2a/static/jquery.min.js:3
↓ 5 callers
Function
Ma
(a,b,c)
proj2a/static/jquery.min.js:3
↓ 5 callers
Method
getFields
This method gets fields of specified type from a given class. @param clazz the class you want to check @param type the type of field you want @retur
proj1a/tests/NodeChecker.java:145
↓ 5 callers
Method
getTimes
()
lab03/src/timing/TimingData.java:20
↓ 5 callers
Method
sum
Computes sum of two ints (incorrectly). @param a Value 1 @param b Value 2 @return Sum of a and b
lab01/src/Arithmetic.java:22
↓ 5 callers
Method
waitForPositiveInt
Waits for the user on other side of Scanner to enter a positive int, and outputs that int
lab08/tests/speed/BucketsSpeedTest.java:90
↓ 4 callers
Function
A
(b,c,d,h)
proj2a/static/jquery.min.js:4
↓ 4 callers
Function
La
(b)
proj2a/static/jquery.min.js:3
↓ 4 callers
Function
T
(a)
proj2a/static/jquery.min.js:3
↓ 4 callers
Function
cb
(a,b)
proj2a/static/jquery.min.js:3
↓ 4 callers
Method
countHistory
Provides the history of WORD between STARTYEAR and ENDYEAR, inclusive of both ends. The returned TimeSeries should be a copy, not a link to this NGram
proj2a/ngordnet/ngrams/NGramMap.java:34
↓ 4 callers
Method
data
Returns all data for this TimeSeries (in any order). Must be in the same order as years().
proj2a/ngordnet/ngrams/TimeSeries.java:46
↓ 4 callers
Method
getGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/NaiveLetterFreqGuesser.java:14
↓ 4 callers
Method
getWord
()
proj0/src/aoa/choosers/RandomChooser.java:27
↓ 4 callers
Method
isApproximately
(RuntimeInstrumentation.ComplexityType type, List<Integer> inputs, List<Double> times)
lab03/tests/timing/Helpers.java:24
↓ 4 callers
Method
isInt
Returns whether the given string is a valid int.
lab02/src/adventure/AdventureUtils.java:6
↓ 4 callers
Method
isInt
Returns whether the given string is a valid int.
lab03/src/adventure/AdventureUtils.java:6
↓ 4 callers
Method
keySet
Returns a Set view of the keys contained in this map. Not required for Lab 7. If you don't implement this, throw an UnsupportedOperationException.
lab07/src/Map61B.java:31
↓ 4 callers
Function
ma
(a)
proj2a/static/jquery.min.js:2
↓ 4 callers
Function
oa
(a)
proj2a/static/jquery.min.js:2
↓ 4 callers
Method
product
Computes product of two ints. @param a Value 1 @param b Value 2 @return Product of a and b
lab01/src/Arithmetic.java:13
↓ 4 callers
Function
sa
(a)
proj2a/static/jquery.min.js:2
↓ 4 callers
Method
sanityResizeTest
(MyHashMap<String, Integer> m, int initialCapacity, double loadFactor)
lab08/tests/hashmap/TestMyHashMap.java:183
↓ 4 callers
Function
ta
(a,b,c)
proj2a/static/jquery.min.js:2
↓ 4 callers
Method
waitForPositiveInt
Waits for the user on other side of Scanner to enter a positive int, and outputs that int
lab08/tests/speed/InsertRandomSpeedTest.java:116
↓ 4 callers
Method
years
Returns all years for this TimeSeries (in any order).
proj2a/ngordnet/ngrams/TimeSeries.java:37
↓ 3 callers
Function
D
(a,b,c)
proj2a/static/jquery.min.js:2
↓ 3 callers
Function
Lb
(a,b)
proj2a/static/jquery.min.js:4
↓ 3 callers
Function
ba
(a,b)
proj2a/static/jquery.min.js:3
↓ 3 callers
Method
getBombMainOutputUntil
Runs up to the given phase in BombMain and modifies the lines variable to have its output.
lab02/tests/bomb/BombTest.java:17
↓ 3 callers
Method
getFrequencyMap
Returns a map from a given letter to its frequency across all words. This task is similar to something you did in hw0b!
proj0/src/aoa/guessers/NaiveLetterFreqGuesser.java:22
↓ 3 callers
Method
getOpCounts
()
lab03/src/timing/TimingData.java:24
↓ 3 callers
Method
getOutputCapture
(ExtensionContext context)
lab02/tests/helpers/CaptureSystemOutput.java:80
↓ 3 callers
Method
getOutputCapture
(ExtensionContext context)
proj0/tests/helpers/CaptureSystemOutput.java:80
↓ 3 callers
Method
getOutputCapture
(ExtensionContext context)
lab03/tests/helpers/CaptureSystemOutput.java:80
↓ 3 callers
Method
getPattern
()
proj0/src/aoa/choosers/Chooser.java:8
↓ 3 callers
Function
get_params
()
proj2a/static/ngordnet.js:12
↓ 3 callers
Function
get_params
()
proj2a/static/staff_ngordnet.js:12
↓ 3 callers
Function
ha
()
proj2a/static/jquery.min.js:2
↓ 3 callers
Method
handleResponses
Handles user input and drives the arraySimilarity helper. @param reference a reference list of animals.
lab02/src/adventure/SpeciesListStage.java:70
↓ 3 callers
Method
handleResponses
Handles user input and drives the arraySimilarity helper. @param reference a reference list of animals.
lab03/src/adventure/SpeciesListStage.java:70
↓ 3 callers
Function
i
()
proj2a/static/jquery.min.js:2
↓ 3 callers
Method
initialize
Same functionality as the other initialization method. The only difference is that the xOff and yOff parameters will change where the renderFrame meth
lab12/src/tileengine/TERenderer.java:30
↓ 3 callers
Method
insertInOrder
Returns time needed to put N strings into a Map61B in increasing order. makes use of StringUtils.nextString(String s)
lab07/tests/InsertInOrderSpeedTest.java:45
↓ 3 callers
Method
insertRandom
Returns time needed to put N random strings of length L into the Map61B 61bMap.
lab07/tests/InsertRandomSpeedTest.java:42
↓ 3 callers
Function
ka
(a,b)
proj2a/static/jquery.min.js:2
↓ 3 callers
Method
newColorValue
(int v, int dv, Random r)
lab13/src/byowTools/TileEngine/TETile.java:138
↓ 3 callers
Method
newColorValue
(int v, int dv, Random r)
proj3/byow/TileEngine/TETile.java:138
↓ 3 callers
Method
newColorValue
(int v, int dv, Random r)
lab12/src/tileengine/TETile.java:137
↓ 3 callers
Method
next
()
lab07/src/ULLMap.java:117
↓ 3 callers
Method
nextString
Returns the string that comes right after S in alphabetical order. For example, if s is 'potato', this method will return 'potatp'. If the last charac
lab07/tests/StringUtils.java:41
next →
1–100 of 684, ranked by callers