MCPcopy Create free account

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

Functions625 in github.com/Berkeley-CS61B/skeleton-sp21

MethodAList
Creates an empty list.
lab3/timingtest/AList.java:22
MethodAListNoResizing
Creates an empty list.
lab3/randomizedtest/AListNoResizing.java:22
MethodAllTileIterator
()
proj0/game2048/Board.java:128
MethodBYOWServer
(int port)
proj3/byow/Networking/BYOWServer.java:27
MethodBoard
(int size)
proj0/game2048/Board.java:19
MethodBoardWidget
A graphical representation of a 2048 board with SIZE rows and columns.
proj0/game2048/BoardWidget.java:95
MethodBuggyAList
Creates an empty list.
lab3/randomizedtest/BuggyAList.java:22
MethodDog
(int s)
lab2setup/Dog/Dog.java:6
MethodDog
Creates a dog object with the specified parameters. @param name Name of dog @param breed Breed of dog @param age Age of dog
lab6/capers/Dog.java:29
MethodEntry
Stores KEY as the key in this key-value pair, VAL as the value, and NEXT as the next node in the linked list.
lab8/hashmap/ULLMap.java:90
MethodEntry
Stores KEY as the key in this key-value pair, VAL as the value, and NEXT as the next node in the linked list.
lab7/bstmap/ULLMap.java:78
MethodGUI
A new window with given TITLE providing a view of MODEL.
proj0/game2048/GUI.java:23
MethodGUISource
Provides input from SOURCE, logging it iff LOG. Use RANDOMSOURCE to select random tiles having value 2 with probability PROBOF2.
proj0/game2048/GUISource.java:15
MethodGame
Controller for a game represented by MODEL, using SOURCE as the the source of key inputs and random Tiles.
proj0/game2048/Game.java:11
MethodGitletException
A GitletException with no message.
proj2/gitlet/GitletException.java:11
MethodGuitarPlayer
(InputStream source)
proj1/gh2/GuitarPlayer.java:20
MethodGuitarString
(double frequency)
proj1/gh2/GuitarString.java:20
MethodIntList
(int f, IntList r)
lab2/IntList/IntList.java:7
MethodIntNode
(Item i, IntNode n)
lab3/timingtest/SLList.java:10
MethodKeyboardInputSource
()
proj3/byow/InputDemo/KeyboardInputSource.java:10
MethodMemoryGame
(int width, int height, long seed)
proj3/byow/lab13/MemoryGame.java:42
MethodModel
A new 2048 game on a board of size SIZE with no pieces and score 0.
proj0/game2048/Model.java:30
MethodMyHashMap
Constructors
lab8/hashmap/MyHashMap.java:33
MethodMyHashMapALBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapALBuckets.java:16
MethodMyHashMapHSBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapHSBuckets.java:16
MethodMyHashMapLLBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapLLBuckets.java:16
MethodMyHashMapPQBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapPQBuckets.java:20
MethodMyHashMapTSBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapTSBuckets.java:20
MethodNode
(K k, V v)
lab8/hashmap/MyHashMap.java:22
MethodRandomInputSource
(Long seed)
proj3/byow/InputDemo/RandomInputSource.java:13
MethodSLList
Creates an empty timingtest.SLList.
lab3/timingtest/SLList.java:21
MethodSide
The side that is in the direction (DCOL, DROW) from any square of the board. Here, "direction (DCOL, DROW) means that to move one space in the dire
proj0/game2048/Side.java:34
MethodStringInputDevice
(String s)
proj3/byow/InputDemo/StringInputDevice.java:10
MethodStudentArrayDeque
()
proj1ec/student/StudentArrayDeque.java:14
MethodTETile
Full constructor for TETile objects. @param character The character displayed on the screen. @param textColor The color of the character itself. @para
proj3/byow/TileEngine/TETile.java:39
MethodTile
A new tile with VALUE as its value at (ROW, COL). This constructor is private, so all tiles are created by the factory methods create, move, and me
proj0/game2048/Tile.java:11
MethodULLMapIter
Create a new ULLMapIter by setting cur to the first node in the linked list that stores the key-value pairs.
lab8/hashmap/ULLMap.java:126
MethodULLMapIter
Create a new ULLMapIter by setting cur to the first node in the linked list that stores the key-value pairs.
lab7/bstmap/ULLMap.java:110
MethodaddFirst
Adds x to the front of the list.
lab3/timingtest/SLList.java:33
MethodaddFirst
(Item x)
proj1ec/student/Deque.java:8
MethodaddIsEmptySizeTest
()
proj1/deque/LinkedListDequeTest.java:10
MethodaddLast
Inserts X into the back of the list.
lab3/randomizedtest/BuggyAList.java:37
MethodaddLast
Inserts X into the back of the list.
lab3/randomizedtest/AListNoResizing.java:28
MethodaddLast
Inserts X into the back of the list.
lab3/timingtest/AList.java:35
MethodaddLast
(Item x)
proj1ec/student/Deque.java:9
MethodaddRemoveTest
()
proj1/deque/LinkedListDequeTest.java:40
MethodaddTile
Add TILE to the board. There must be no Tile currently at the same position.
proj0/game2048/Model.java:91
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
MethodbigLLDequeTest
()
proj1/deque/LinkedListDequeTest.java:118
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
MethodcelebrateBirthday
Advances a dog's age persistently and prints out a celebratory message. Also prints out the dog's information using toString(). Chooses dog to advance
lab6/capers/CapersRepository.java:61
Methodclear
Removes all of the mappings from this map.
lab8/hashmap/ULLMap.java:33
Methodclear
Removes all of the mappings from this map.
lab8/hashmap/Map61B.java:11
Methodclear
Removes all of the mappings from this map.
lab7/bstmap/ULLMap.java:32
Methodclear
Clear all tiles from the board.
proj0/game2048/BoardWidget.java:103
Methodclear
Clear the board to empty and reset the score.
proj0/game2048/Board.java:72
Methodclear
Clear the board to empty and reset the score.
proj0/game2048/Model.java:82
MethodclientHasKeyTyped
()
proj3/byow/Networking/BYOWServer.java:50
MethodclientNextKeyTyped
()
proj3/byow/Networking/BYOWServer.java:63
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
MethodcontainsKey
Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
lab8/hashmap/ULLMap.java:62
MethodcontainsKey
Returns true if this map contains a mapping for the specified key.
lab8/hashmap/Map61B.java:14
MethodcontainsKey
Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
lab7/bstmap/ULLMap.java:56
MethodcontainsKeyNullTest
()
lab7/bstmap/TestBSTMap.java:83
MethodcopyOf
Makes a copy of the given 2D tile array. @param tiles the 2D array to copy
proj3/byow/TileEngine/TETile.java:177
MethodcreateBucket
()
lab8/hashmap/MyHashMapTSBuckets.java:45
MethodcreateBucket
()
lab8/hashmap/MyHashMapALBuckets.java:41
MethodcreateBucket
()
lab8/hashmap/MyHashMapHSBuckets.java:41
MethodcreateBucket
()
lab8/hashmap/MyHashMapPQBuckets.java:45
MethodcreateBucket
()
lab8/hashmap/MyHashMapLLBuckets.java:41
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.
lab8/hashmap/MyHashMap.java:71
MethodcreateNode
Returns a new node to be placed in a hash table bucket
lab8/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
lab8/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
proj3/byow/TileEngine/TETile.java:113
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
FunctiondoCompile
(target)
proj2/testing/staff-runner.py:199
MethoddrawFrame
(String s)
proj3/byow/lab13/MemoryGame.java:64
MethodemptyNullReturnTest
()
proj1/deque/LinkedListDequeTest.java:102
MethodflashSequence
(String letters)
proj3/byow/lab13/MemoryGame.java:69
MethodfromFile
Reads in and deserializes a dog from a file with name NAME in DOG_FOLDER. @param name Name of dog to load @return Dog read from file
lab6/capers/Dog.java:41
MethodfunctionalityTest
()
lab8/hashmap/TestMyHashMapBuckets.java:101
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)
proj3/byow/lab13/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
proj3/byow/Core/RandomUtils.java:177
Methodget
Returns the value corresponding to KEY or null if no such value exists.
lab8/hashmap/ULLMap.java:16
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.
lab8/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.
lab8/hashmap/Map61B.java:20
Methodget
Returns the ith item of this IntList.
lab2/IntList/IntList.java:32
Methodget
Returns the value corresponding to KEY or null if no such value exists.
lab7/bstmap/ULLMap.java:15
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.
lab7/bstmap/ULLMap.java:86
Methodget
Gets the ith item in the list (0 is the front).
lab3/randomizedtest/BuggyAList.java:50
Methodget
Gets the ith item in the list (0 is the front).
lab3/randomizedtest/AListNoResizing.java:38
Methodget
Gets the ith item in the list (0 is the front).
lab3/timingtest/AList.java:49
Methodget
(int var1)
proj1ec/student/StudentArrayDeque.java:273
MethodgetKey
()
proj0/game2048/GUISource.java:33
MethodgetLast
returns last item in the list
lab3/timingtest/SLList.java:58
MethodgetNewTile
(int size)
proj0/game2048/GUISource.java:68
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
← previousnext →301–400 of 625, ranked by callers