Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Berkeley-CS61B/skeleton-sp21
/ functions
Functions
625 in github.com/Berkeley-CS61B/skeleton-sp21
⨍
Functions
625
◇
Types & classes
112
Method
AList
Creates an empty list.
lab3/timingtest/AList.java:22
Method
AListNoResizing
Creates an empty list.
lab3/randomizedtest/AListNoResizing.java:22
Method
AllTileIterator
()
proj0/game2048/Board.java:128
Method
BYOWServer
(int port)
proj3/byow/Networking/BYOWServer.java:27
Method
Board
(int size)
proj0/game2048/Board.java:19
Method
BoardWidget
A graphical representation of a 2048 board with SIZE rows and columns.
proj0/game2048/BoardWidget.java:95
Method
BuggyAList
Creates an empty list.
lab3/randomizedtest/BuggyAList.java:22
Method
Dog
(int s)
lab2setup/Dog/Dog.java:6
Method
Dog
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
Method
Entry
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
Method
Entry
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
Method
GUI
A new window with given TITLE providing a view of MODEL.
proj0/game2048/GUI.java:23
Method
GUISource
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
Method
Game
Controller for a game represented by MODEL, using SOURCE as the the source of key inputs and random Tiles.
proj0/game2048/Game.java:11
Method
GitletException
A GitletException with no message.
proj2/gitlet/GitletException.java:11
Method
GuitarPlayer
(InputStream source)
proj1/gh2/GuitarPlayer.java:20
Method
GuitarString
(double frequency)
proj1/gh2/GuitarString.java:20
Method
IntList
(int f, IntList r)
lab2/IntList/IntList.java:7
Method
IntNode
(Item i, IntNode n)
lab3/timingtest/SLList.java:10
Method
KeyboardInputSource
()
proj3/byow/InputDemo/KeyboardInputSource.java:10
Method
MemoryGame
(int width, int height, long seed)
proj3/byow/lab13/MemoryGame.java:42
Method
Model
A new 2048 game on a board of size SIZE with no pieces and score 0.
proj0/game2048/Model.java:30
Method
MyHashMap
Constructors
lab8/hashmap/MyHashMap.java:33
Method
MyHashMapALBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapALBuckets.java:16
Method
MyHashMapHSBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapHSBuckets.java:16
Method
MyHashMapLLBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapLLBuckets.java:16
Method
MyHashMapPQBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapPQBuckets.java:20
Method
MyHashMapTSBuckets
Constructor that creates a backing array with default initial size and load factor
lab8/hashmap/MyHashMapTSBuckets.java:20
Method
Node
(K k, V v)
lab8/hashmap/MyHashMap.java:22
Method
RandomInputSource
(Long seed)
proj3/byow/InputDemo/RandomInputSource.java:13
Method
SLList
Creates an empty timingtest.SLList.
lab3/timingtest/SLList.java:21
Method
Side
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
Method
StringInputDevice
(String s)
proj3/byow/InputDemo/StringInputDevice.java:10
Method
StudentArrayDeque
()
proj1ec/student/StudentArrayDeque.java:14
Method
TETile
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
Method
Tile
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
Method
ULLMapIter
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
Method
ULLMapIter
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
Method
addFirst
Adds x to the front of the list.
lab3/timingtest/SLList.java:33
Method
addFirst
(Item x)
proj1ec/student/Deque.java:8
Method
addIsEmptySizeTest
()
proj1/deque/LinkedListDequeTest.java:10
Method
addLast
Inserts X into the back of the list.
lab3/randomizedtest/BuggyAList.java:37
Method
addLast
Inserts X into the back of the list.
lab3/randomizedtest/AListNoResizing.java:28
Method
addLast
Inserts X into the back of the list.
lab3/timingtest/AList.java:35
Method
addLast
(Item x)
proj1ec/student/Deque.java:9
Method
addRemoveTest
()
proj1/deque/LinkedListDequeTest.java:40
Method
addTile
Add TILE to the board. There must be no Tile currently at the same position.
proj0/game2048/Model.java:91
Method
bernoulli
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
Method
bigLLDequeTest
()
proj1/deque/LinkedListDequeTest.java:118
Method
cauchy
Returns a random real number from the Cauchy distribution. @return a random real number from the Cauchy distribution.
proj3/byow/Core/RandomUtils.java:241
Method
celebrateBirthday
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
Method
clear
Removes all of the mappings from this map.
lab8/hashmap/ULLMap.java:33
Method
clear
Removes all of the mappings from this map.
lab8/hashmap/Map61B.java:11
Method
clear
Removes all of the mappings from this map.
lab7/bstmap/ULLMap.java:32
Method
clear
Clear all tiles from the board.
proj0/game2048/BoardWidget.java:103
Method
clear
Clear the board to empty and reset the score.
proj0/game2048/Board.java:72
Method
clear
Clear the board to empty and reset the score.
proj0/game2048/Model.java:82
Method
clientHasKeyTyped
()
proj3/byow/Networking/BYOWServer.java:50
Method
clientNextKeyTyped
()
proj3/byow/Networking/BYOWServer.java:63
Method
colorVariant
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
Method
containsKey
Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
lab8/hashmap/ULLMap.java:62
Method
containsKey
Returns true if this map contains a mapping for the specified key.
lab8/hashmap/Map61B.java:14
Method
containsKey
Returns true if and only if this dictionary contains KEY as the key of some key-value pair.
lab7/bstmap/ULLMap.java:56
Method
containsKeyNullTest
()
lab7/bstmap/TestBSTMap.java:83
Method
copyOf
Makes a copy of the given 2D tile array. @param tiles the 2D array to copy
proj3/byow/TileEngine/TETile.java:177
Method
createBucket
()
lab8/hashmap/MyHashMapTSBuckets.java:45
Method
createBucket
()
lab8/hashmap/MyHashMapALBuckets.java:41
Method
createBucket
()
lab8/hashmap/MyHashMapHSBuckets.java:41
Method
createBucket
()
lab8/hashmap/MyHashMapPQBuckets.java:45
Method
createBucket
()
lab8/hashmap/MyHashMapLLBuckets.java:41
Method
createBucket
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
Method
createNode
Returns a new node to be placed in a hash table bucket
lab8/hashmap/MyHashMap.java:49
Method
createTable
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
Method
description
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
Method
discrete
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
Function
doCompile
(target)
proj2/testing/staff-runner.py:199
Method
drawFrame
(String s)
proj3/byow/lab13/MemoryGame.java:64
Method
emptyNullReturnTest
()
proj1/deque/LinkedListDequeTest.java:102
Method
flashSequence
(String letters)
proj3/byow/lab13/MemoryGame.java:69
Method
fromFile
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
Method
functionalityTest
()
lab8/hashmap/TestMyHashMapBuckets.java:101
Method
gaussian
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
Method
generateRandomString
(int n)
proj3/byow/lab13/MemoryGame.java:59
Method
geometric
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
Method
get
Returns the value corresponding to KEY or null if no such value exists.
lab8/hashmap/ULLMap.java:16
Method
get
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
Method
get
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
Method
get
Returns the ith item of this IntList.
lab2/IntList/IntList.java:32
Method
get
Returns the value corresponding to KEY or null if no such value exists.
lab7/bstmap/ULLMap.java:15
Method
get
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
Method
get
Gets the ith item in the list (0 is the front).
lab3/randomizedtest/BuggyAList.java:50
Method
get
Gets the ith item in the list (0 is the front).
lab3/randomizedtest/AListNoResizing.java:38
Method
get
Gets the ith item in the list (0 is the front).
lab3/timingtest/AList.java:49
Method
get
(int var1)
proj1ec/student/StudentArrayDeque.java:273
Method
getKey
()
proj0/game2048/GUISource.java:33
Method
getLast
returns last item in the list
lab3/timingtest/SLList.java:58
Method
getNewTile
(int size)
proj0/game2048/GUISource.java:68
Method
getNextKey
()
proj3/byow/InputDemo/KeyboardInputSource.java:14
Method
getNextKey
Returns a random letter between a and z.
proj3/byow/InputDemo/RandomInputSource.java:18
Method
getNextKey
()
proj3/byow/InputDemo/StringInputDevice.java:15
← previous
next →
301–400 of 625, ranked by callers