MCPcopy Create free account

hub / github.com/Berkeley-CS61B/skeleton-sp23 / functions

Functions684 in github.com/Berkeley-CS61B/skeleton-sp23

↓ 102 callersMethodget
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 callersMethodput
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 callersMethodget
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 callersMethodof
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 callersMethodcontainsKey
Returns whether this map contains a mapping for the specified key.
lab07/src/Map61B.java:20
↓ 62 callersMethodsize
Returns the number of key-value mappings in this map.
lab07/src/Map61B.java:24
↓ 37 callersFunctionr
(a,b)
proj2a/static/jquery.min.js:2
↓ 30 callersMethodprint
()
lab02/src/common/IntList.java:54
↓ 30 callersMethodremove
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 callersMethodgetPattern
()
proj0/src/aoa/choosers/EvilChooser.java:21
↓ 23 callersMethodmakeGuess
(char letter)
proj0/src/aoa/choosers/EvilChooser.java:15
↓ 23 callersMethoduniform
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 callersMethoduniform
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 callersMethodof
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 callersMethodsample
()
proj1c/src/gh2/GuitarString.java:49
↓ 16 callersFunctionb
(c,e)
proj2a/static/jquery.min.js:2
↓ 16 callersFunctiong
(b,c,d,e)
proj2a/static/jquery.min.js:2
↓ 16 callersFunctionla
(a,b)
proj2a/static/jquery.min.js:2
↓ 15 callersMethodgetGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/PatternAwareLetterFreqGuesser.java:14
↓ 15 callersMethodisEmpty
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 callersMethodcreateBucketedMap
Returns a MyHashMap with the specified bucket type. @param bucketType the type of bucket to use
lab08/src/hashmap/MyHashMapFactory.java:18
↓ 13 callersMethodsize
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 callersMethodclear
Removes every mapping from this map.
lab07/src/Map61B.java:27
↓ 12 callersMethodequals
(Object other)
lab02/src/common/IntList.java:39
↓ 12 callersMethodgetGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/PAGALetterFreqGuesser.java:14
↓ 11 callersFunctione
(a,b)
proj2a/static/jquery.min.js:4
↓ 11 callersMethodgetNs
()
lab03/src/timing/TimingData.java:16
↓ 10 callersFunctionga
(a,b,d,e)
proj2a/static/jquery.min.js:2
↓ 10 callersMethodgetResponses
()
lab03/src/adventure/AdventureStage.java:8
↓ 10 callersMethodhashCode
()
lab08/tests/hashmap/TestMyHashMap.java:305
↓ 10 callersFunctionia
(a)
proj2a/static/jquery.min.js:2
↓ 10 callersFunctionja
(a)
proj2a/static/jquery.min.js:2
↓ 9 callersFunctiond
(a)
proj2a/static/jquery.min.js:3
↓ 9 callersFunctionh
(a)
proj2a/static/jquery.min.js:2
↓ 9 callersMethodsetSeed
Sets random seed to L so that results of randomString are predictable.
lab07/tests/StringUtils.java:15
↓ 8 callersFunctionS
(a,b,c,d,e,f,g)
proj2a/static/jquery.min.js:2
↓ 8 callersFunctionc
(a)
proj2a/static/jquery.min.js:4
↓ 8 callersMethodtic
()
proj1c/src/gh2/GuitarString.java:42
↓ 7 callersFunctionI
(a,b)
proj2a/static/jquery.min.js:2
↓ 7 callersMethodgetPattern
()
proj0/src/aoa/choosers/RandomChooser.java:21
↓ 7 callersFunctionmb
(a)
proj2a/static/jquery.min.js:4
↓ 7 callersFunctionpa
(a)
proj2a/static/jquery.min.js:2
↓ 7 callersMethodpluck
()
proj1c/src/gh2/GuitarString.java:28
↓ 7 callersMethodvalidateNotNull
(Object x)
lab13/src/byowTools/RandomUtils.java:533
↓ 7 callersMethodvalidateNotNull
(Object x)
proj3/byow/Core/RandomUtils.java:533
↓ 7 callersFunctiony
(a,b,c)
proj2a/static/jquery.min.js:2
↓ 6 callersFunctionf
(f,g,h,i,k)
proj2a/static/jquery.min.js:2
↓ 6 callersMethodmakeGuess
(char letter)
proj0/src/aoa/choosers/RandomChooser.java:15
↓ 6 callersFunctionwa
(a,b,c,d,e)
proj2a/static/jquery.min.js:2
↓ 5 callersFunctionHa
(a,b,c,d)
proj2a/static/jquery.min.js:3
↓ 5 callersFunctionMa
(a,b,c)
proj2a/static/jquery.min.js:3
↓ 5 callersMethodgetFields
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 callersMethodgetTimes
()
lab03/src/timing/TimingData.java:20
↓ 5 callersMethodsum
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 callersMethodwaitForPositiveInt
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 callersFunctionA
(b,c,d,h)
proj2a/static/jquery.min.js:4
↓ 4 callersFunctionLa
(b)
proj2a/static/jquery.min.js:3
↓ 4 callersFunctionT
(a)
proj2a/static/jquery.min.js:3
↓ 4 callersFunctioncb
(a,b)
proj2a/static/jquery.min.js:3
↓ 4 callersMethodcountHistory
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 callersMethoddata
Returns all data for this TimeSeries (in any order). Must be in the same order as years().
proj2a/ngordnet/ngrams/TimeSeries.java:46
↓ 4 callersMethodgetGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/NaiveLetterFreqGuesser.java:14
↓ 4 callersMethodgetWord
()
proj0/src/aoa/choosers/RandomChooser.java:27
↓ 4 callersMethodisApproximately
(RuntimeInstrumentation.ComplexityType type, List<Integer> inputs, List<Double> times)
lab03/tests/timing/Helpers.java:24
↓ 4 callersMethodisInt
Returns whether the given string is a valid int.
lab02/src/adventure/AdventureUtils.java:6
↓ 4 callersMethodisInt
Returns whether the given string is a valid int.
lab03/src/adventure/AdventureUtils.java:6
↓ 4 callersMethodkeySet
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 callersFunctionma
(a)
proj2a/static/jquery.min.js:2
↓ 4 callersFunctionoa
(a)
proj2a/static/jquery.min.js:2
↓ 4 callersMethodproduct
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 callersFunctionsa
(a)
proj2a/static/jquery.min.js:2
↓ 4 callersMethodsanityResizeTest
(MyHashMap<String, Integer> m, int initialCapacity, double loadFactor)
lab08/tests/hashmap/TestMyHashMap.java:183
↓ 4 callersFunctionta
(a,b,c)
proj2a/static/jquery.min.js:2
↓ 4 callersMethodwaitForPositiveInt
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 callersMethodyears
Returns all years for this TimeSeries (in any order).
proj2a/ngordnet/ngrams/TimeSeries.java:37
↓ 3 callersFunctionD
(a,b,c)
proj2a/static/jquery.min.js:2
↓ 3 callersFunctionLb
(a,b)
proj2a/static/jquery.min.js:4
↓ 3 callersFunctionba
(a,b)
proj2a/static/jquery.min.js:3
↓ 3 callersMethodgetBombMainOutputUntil
Runs up to the given phase in BombMain and modifies the lines variable to have its output.
lab02/tests/bomb/BombTest.java:17
↓ 3 callersMethodgetFrequencyMap
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 callersMethodgetOpCounts
()
lab03/src/timing/TimingData.java:24
↓ 3 callersMethodgetOutputCapture
(ExtensionContext context)
lab02/tests/helpers/CaptureSystemOutput.java:80
↓ 3 callersMethodgetOutputCapture
(ExtensionContext context)
proj0/tests/helpers/CaptureSystemOutput.java:80
↓ 3 callersMethodgetOutputCapture
(ExtensionContext context)
lab03/tests/helpers/CaptureSystemOutput.java:80
↓ 3 callersMethodgetPattern
()
proj0/src/aoa/choosers/Chooser.java:8
↓ 3 callersFunctionget_params
()
proj2a/static/ngordnet.js:12
↓ 3 callersFunctionget_params
()
proj2a/static/staff_ngordnet.js:12
↓ 3 callersFunctionha
()
proj2a/static/jquery.min.js:2
↓ 3 callersMethodhandleResponses
Handles user input and drives the arraySimilarity helper. @param reference a reference list of animals.
lab02/src/adventure/SpeciesListStage.java:70
↓ 3 callersMethodhandleResponses
Handles user input and drives the arraySimilarity helper. @param reference a reference list of animals.
lab03/src/adventure/SpeciesListStage.java:70
↓ 3 callersFunctioni
()
proj2a/static/jquery.min.js:2
↓ 3 callersMethodinitialize
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 callersMethodinsertInOrder
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 callersMethodinsertRandom
Returns time needed to put N random strings of length L into the Map61B 61bMap.
lab07/tests/InsertRandomSpeedTest.java:42
↓ 3 callersFunctionka
(a,b)
proj2a/static/jquery.min.js:2
↓ 3 callersMethodnewColorValue
(int v, int dv, Random r)
lab13/src/byowTools/TileEngine/TETile.java:138
↓ 3 callersMethodnewColorValue
(int v, int dv, Random r)
proj3/byow/TileEngine/TETile.java:138
↓ 3 callersMethodnewColorValue
(int v, int dv, Random r)
lab12/src/tileengine/TETile.java:137
↓ 3 callersMethodnext
()
lab07/src/ULLMap.java:117
↓ 3 callersMethodnextString
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