MCPcopy Create free account

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

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

Methodbernoulli
Returns a random boolean from a Bernoulli distribution with success probability <em>p</em>. @param p the probability of returning {@code true} @retur
lab13/src/byowTools/RandomUtils.java:116
Methodbernoulli
Returns a random boolean from a Bernoulli distribution with success probability <em>p</em>. @param p the probability of returning {@code true} @retur
proj3/byow/Core/RandomUtils.java:116
MethodbucketArguments
()
lab08/tests/hashmap/TestMyHashMapBuckets.java:95
Methodcauchy
Returns a random real number from the Cauchy distribution. @return a random real number from the Cauchy distribution.
lab13/src/byowTools/RandomUtils.java:241
Methodcauchy
Returns a random real number from the Cauchy distribution. @return a random real number from the Cauchy distribution.
proj3/byow/Core/RandomUtils.java:241
Methodclear
Removes all of the mappings from this map.
lab08/src/hashmap/ULLMap.java:33
Methodclear
Removes every mapping from this map.
lab08/src/hashmap/Map61B.java:29
Methodclear
Removes all of the mappings from this map.
lab07/src/ULLMap.java:30
MethodcolorVariant
Creates a copy of the given tile with a slightly different text color. The new color will have a red value that is within dr of the current red value,
lab13/src/byowTools/TileEngine/TETile.java:127
MethodcolorVariant
Creates a copy of the given tile with a slightly different text color. The new color will have a red value that is within dr of the current red value,
proj3/byow/TileEngine/TETile.java:127
MethodcolorVariant
Creates a copy of the given tile with a slightly different text color. The new color will have a red value that is within dr of the current red value,
lab12/src/tileengine/TETile.java:126
MethodcontainsKey
Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
lab08/src/hashmap/ULLMap.java:62
MethodcontainsKey
Returns whether this map contains a mapping for the specified key.
lab08/src/hashmap/Map61B.java:22
MethodcontainsKey
Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
lab07/src/ULLMap.java:54
MethodcontainsKeyNullTest
()
lab07/tests/TestBSTMap.java:88
MethodcontainsKeyTest
(Class<? extends Collection> bucketType)
lab08/tests/hashmap/TestMyHashMapBuckets.java:45
MethodcopyOf
Makes a copy of the given 2D tile array. @param tiles the 2D array to copy
lab13/src/byowTools/TileEngine/TETile.java:177
MethodcopyOf
Makes a copy of the given 2D tile array. @param tiles the 2D array to copy
proj3/byow/TileEngine/TETile.java:177
MethodcopyOf
Makes a copy of the given 2D tile array. @param tiles the 2D array to copy
lab12/src/tileengine/TETile.java:175
MethodcreateBucket
()
lab08/src/hashmap/MyHashMapFactory.java:20
MethodcreateBucket
Returns a data structure to be a hash table bucket The only requirements of a hash table bucket are that we can: 1. Insert items (`add` method) 2.
lab08/src/hashmap/MyHashMap.java:71
MethodcreateNode
Returns a new node to be placed in a hash table bucket
lab08/src/hashmap/MyHashMap.java:49
MethodcreateTable
Returns a table to back our hash table. As per the comment above, this table can be an array of Collection objects BE SURE TO CALL THIS FACTORY METHO
lab08/src/hashmap/MyHashMap.java:84
Methoddescription
Description of the tile. Useful for displaying mouseover text or testing that two tiles represent the same type of thing. @return description of the t
lab13/src/byowTools/TileEngine/TETile.java:113
Methoddescription
Description of the tile. Useful for displaying mouseover text or testing that two tiles represent the same type of thing. @return description of the t
proj3/byow/TileEngine/TETile.java:113
Methoddescription
Description of the tile. Useful for displaying mouseover text or testing that two tiles represent the same type of thing. @return description of the t
lab12/src/tileengine/TETile.java:112
Methoddiscrete
Returns a random integer from the specified discrete distribution. @param probabilities the probability of occurrence of each integer @return a rando
lab13/src/byowTools/RandomUtils.java:255
Methoddiscrete
Returns a random integer from the specified discrete distribution. @param probabilities the probability of occurrence of each integer @return a rando
proj3/byow/Core/RandomUtils.java:255
MethoddividedBy
Returns the quotient of the value for each year this TimeSeries divided by the value for the same year in TS. Should return a new TimeSeries (does not
proj2a/ngordnet/ngrams/TimeSeries.java:74
Functioneb
(a,b,c)
proj2a/static/jquery.min.js:3
MethodedgeCasesTest
(Class<? extends Collection> bucketType)
lab08/tests/hashmap/TestMyHashMapBuckets.java:88
MethodflashSequence
(String letters)
lab13/src/MemoryGame/MemoryGame.java:91
MethodfunctionalityTest
(Class<? extends Collection> bucketType)
lab08/tests/hashmap/TestMyHashMapBuckets.java:73
Methodgaussian
Returns a random real number from a standard Gaussian distribution. @return a random real number from a standard Gaussian distribution (mean 0 and st
lab13/src/byowTools/RandomUtils.java:140
Methodgaussian
Returns a random real number from a standard Gaussian distribution. @return a random real number from a standard Gaussian distribution (mean 0 and st
proj3/byow/Core/RandomUtils.java:140
MethodgenerateRandomString
(int n)
lab13/src/MemoryGame/MemoryGame.java:59
Methodgeometric
Returns a random integer from a geometric distribution with success probability <em>p</em>. @param p the parameter of the geometric distribution @ret
lab13/src/byowTools/RandomUtils.java:177
Methodgeometric
Returns a random integer from a geometric distribution with success probability <em>p</em>. @param p the parameter of the geometric distribution @ret
proj3/byow/Core/RandomUtils.java:177
Methodget
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
proj1b/src/Deque.java:67
Methodget
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
proj1a/src/Deque.java:67
Methodget
Returns the value corresponding to KEY or null if no such value exists.
lab08/src/hashmap/ULLMap.java:16
Methodget
Returns the Node in this linked list of key-value pairs whose key is equal to KEY, or null if no such Node exists.
lab08/src/hashmap/ULLMap.java:100
Methodget
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
lab08/src/hashmap/Map61B.java:19
Methodget
Returns the ith item of this IntList.
lab02/src/common/IntList.java:13
Methodget
Returns the value corresponding to KEY or null if no such value exists.
lab07/src/ULLMap.java:13
Methodget
Returns the Entry in this linked list of key-value pairs whose key is equal to KEY, or null if no such Entry exists.
lab07/src/ULLMap.java:84
Methodget
Gets the ith item in the list (0 is the front).
lab03/src/timing/AList.java:49
Methodget
Returns the ith item of this IntList.
lab03/src/common/IntList.java:13
MethodgetFirst
Returns the first item in the list.
lab03/src/timing/SLList.java:39
MethodgetGuess
(String pattern, List<Character> guesses)
proj0/src/aoa/guessers/ConsoleGuesser.java:13
MethodgetGuessProvider
()
proj0/tests/aoa/guessers/PAGALetterFreqGuesserIntegrationTest.java:32
MethodgetLast
returns last item in the list
lab03/src/timing/SLList.java:58
MethodgetNextKey
()
proj3/byow/InputDemo/KeyboardInputSource.java:14
MethodgetNextKey
Returns a random letter between a and z.
proj3/byow/InputDemo/RandomInputSource.java:18
MethodgetNextKey
()
proj3/byow/InputDemo/StringInputDevice.java:15
MethodgetRecursive
This method technically shouldn't be in the interface, but it's here to make testing nice. Gets an element, recursively. @param index index to get, a
proj1a/src/Deque.java:76
MethodgetRecursive
This method technically shouldn't be in the interface, but it's here to make testing nice. Gets an element, recursively. @param index index to get, a
proj1c/src/deque/Deque.java:78
MethodgetResponses
()
lab02/src/adventure/FillerStage.java:42
MethodgetResponses
()
lab02/src/adventure/AdventureStage.java:8
MethodgetResponses
()
lab02/src/adventure/MachineStage.java:75
MethodgetResponses
()
lab02/src/adventure/SpeciesListStage.java:60
MethodgetResponses
()
lab02/src/adventure/BeeCountingStage.java:73
MethodgetResponses
()
lab02/src/adventure/PalindromeStage.java:64
MethodgetResponses
()
lab03/src/adventure/FillerStage.java:42
MethodgetResponses
()
lab03/src/adventure/MachineStage.java:75
MethodgetResponses
()
lab03/src/adventure/SpeciesListStage.java:60
MethodgetResponses
()
lab03/src/adventure/BeeCountingStage.java:75
MethodgetResponses
()
lab03/src/adventure/PalindromeStage.java:59
MethodgetWord
()
proj0/src/aoa/choosers/EvilChooser.java:27
Methodhandle
(ngordnet.browser.NgordnetQuery q)
proj2a/ngordnet/browser/NgordnetQueryHandler.java:13
Methodhandle
(NgordnetQuery q)
proj2a/ngordnet/main/DummyHistoryTextHandler.java:9
Methodhandle
(NgordnetQuery q)
proj2a/ngordnet/main/DummyHistoryHandler.java:13
MethodhasNext
()
lab08/src/hashmap/ULLMap.java:130
MethodhasNext
()
lab07/src/ULLMap.java:112
FunctionhistoryButton
()
proj2a/static/ngordnet.js:25
FunctionhistoryButton
()
proj2a/static/staff_ngordnet.js:25
FunctionhistoryTextButton
()
proj2a/static/ngordnet.js:50
FunctionhistoryTextButton
()
proj2a/static/staff_ngordnet.js:50
FunctionhyponymsButton
()
proj2a/static/ngordnet.js:75
FunctionhyponymsButton
()
proj2a/static/staff_ngordnet.js:75
Methodinitialize
Same functionality as the other initialization method. The only difference is that the xOff and yOff parameters will change where the renderFrame meth
lab13/src/byowTools/TileEngine/TERenderer.java:30
Methodinitialize
Same functionality as the other initialization method. The only difference is that the xOff and yOff parameters will change where the renderFrame meth
proj3/byow/TileEngine/TERenderer.java:30
MethodisEmpty
Returns if the deque is empty. Does not alter the deque. @return {@code true} if the deque has no elements, {@code false} otherwise.
proj1b/src/Deque.java:35
MethodisEmpty
Returns if the deque is empty. Does not alter the deque. @return {@code true} if the deque has no elements, {@code false} otherwise.
proj1a/src/Deque.java:35
MethodisFull
(int row, int col)
hw2/src/Percolation.java:20
MethodisLowerCase
Returns true if string S consists of characters between 'a' and 'z' only. No spaces, numbers, upper-case, or any other characters are allowed.
lab08/tests/speed/StringUtils.java:35
MethodisOpen
(int row, int col)
hw2/src/Percolation.java:15
Methoditerator
()
lab08/src/hashmap/ULLMap.java:69
Methoditerator
()
lab07/src/ULLMap.java:61
MethodkeySet
()
lab08/src/hashmap/ULLMap.java:153
MethodkeySet
Returns a Set view of the keys contained in this map. Not required for Lab 8. If you don't implement this, throw an UnsupportedOperationException.
lab08/src/hashmap/Map61B.java:33
MethodkeySet
()
lab07/src/ULLMap.java:134
Methodmain
(String[] args)
lab13/src/MemoryGame/MemoryGame.java:31
Methodmain
(String[] args)
proj2a/ngordnet/main/PlotDemo.java:11
Methodmain
(String[] args)
proj2a/ngordnet/main/Main.java:6
Methodmain
(String[] args)
proj2a/ngordnet/main/FileReaderDemo.java:9
Methodmain
(String[] args)
lab01/src/Arithmetic.java:26
Methodmain
Requests user input and performs tests of three different bucket implementations. ARGS is unused.
lab08/tests/speed/BucketsSpeedTest.java:18
Methodmain
Requests user input and performs tests of three different set implementations. ARGS is unused.
lab08/tests/speed/InsertInOrderSpeedTest.java:24
Methodmain
Requests user input and performs tests of three different set implementations. ARGS is unused.
lab08/tests/speed/InsertRandomSpeedTest.java:20
← previousnext →401–500 of 684, ranked by callers