MCPcopy Create free account

hub / github.com/aistrate/AlgorithmsSedgewick / functions

Functions1,619 in github.com/aistrate/AlgorithmsSedgewick

↓ 452 callersMethodprintln
Terminate the current line by printing the line separator string.
StdLib/StdOut.java:54
↓ 128 callersMethodprintln
Terminate the line.
StdLib/Out.java:88
↓ 101 callersMethodprintf
Print a formatted string to standard output using the specified format string and arguments, and flush standard output.
StdLib/StdOut.java:204
↓ 88 callersMethodadd
Add the key to this set.
3-Searching/SET.java:64
↓ 68 callersMethodprint
Flush standard output.
StdLib/StdOut.java:124
↓ 61 callersMethodcharAt
(String s, int d)
5-Strings/5-1-StringSorts/MSD.java:37
↓ 61 callersMethodpush
Add the item to the stack.
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:66
↓ 58 callersMethodequals
(Object x)
1-Fundamentals/1-2-DataAbstraction/Date.java:91
↓ 54 callersMethodcompareTo
Compare edges by weight.
4-Graphs/4-3-MinSpanningTrees/Edge.java:57
↓ 51 callersMethodlength
()
1-Fundamentals/1-2-DataAbstraction/Vector.java:63
↓ 48 callersMethodisRed
(Node x)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:54
↓ 45 callersMethoduniform
Return real number uniformly in [0, 1).
StdLib/StdRandom.java:89
↓ 44 callersMethodreadInt
Return next int from standard input
StdLib/StdIn.java:61
↓ 41 callersMethodisEmpty
Is there only whitespace left on standard input?
StdLib/StdIn.java:47
↓ 40 callersMethodV
Return the number of vertices in the digraph.
4-Graphs/4-2-DirectedGraphs/Digraph.java:94
↓ 38 callersMethodV
Return the number of vertices in the graph.
4-Graphs/4-1-UndirectedGraphs/Graph.java:112
↓ 38 callersMethodenqueue
Add the item to the queue.
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:74
↓ 33 callersMethodV
Return the number of vertices in this digraph.
4-Graphs/4-4-ShortestPaths/EdgeWeightedDigraph.java:90
↓ 33 callersMethodpop
Delete and return the item most recently added to the stack. Throw an exception if no such item exists because the stack is empty.
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:78
↓ 30 callersMethodappend
(Item item)
1-Fundamentals/1-3-BagsQueuesStacks/List.java:76
↓ 30 callersMethoddraw
()
StdLib/StdDraw.java:838
↓ 30 callersMethodrandom
Return real number uniformly in [0, 1).
StdLib/StdRandom.java:108
↓ 30 callersMethodreadString
Return next string from standard input
StdLib/StdIn.java:54
↓ 29 callersMethodother
Return the endpoint of this edge that is different from the given vertex (unless a self-loop).
4-Graphs/4-3-MinSpanningTrees/Edge.java:48
↓ 29 callersMethodput
Put key-value pair into the symbol table. Remove key from table if value is null.
3-Searching/ST.java:54
↓ 29 callersMethodscaleX
Scales the given x-coordinate from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:940
↓ 29 callersMethodscaleY
Scales the given y-coordinate from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:951
↓ 29 callersMethodwrite
Write the specified bit to standard output. @param x the <tt>boolean</tt> to write.
StdLib/BinaryStdOut.java:106
↓ 28 callersMethoddraw
()
StdLib/Draw.java:836
↓ 27 callersMethodabs
()
Beyond/Complex.java:49
↓ 27 callersMethodflush
Flush the binary output stream, padding 0s if number of bits written so far is not a multiple of 8.
StdLib/BinaryOut.java:124
↓ 26 callersMethodisKeyPressed
Is the given key currently pressed down? The keys correnspond to physical keys, not characters. For letters, use the uppercase character to refer to t
StdLib/StdDraw3D.java:1589
↓ 25 callersMethodV
Return the number of vertices in this graph.
4-Graphs/4-3-MinSpanningTrees/EdgeWeightedGraph.java:105
↓ 25 callersMethodeither
Return either endpoint of this edge.
4-Graphs/4-3-MinSpanningTrees/Edge.java:40
↓ 25 callersMethodscaleX
(double x)
StdLib/StdDraw.java:265
↓ 25 callersMethodscaleY
(double y)
StdLib/StdDraw.java:266
↓ 25 callersMethodsetColor
(Color c)
StdLib/StdDraw3D.java:4034
↓ 24 callersMethodscaleX
(double x)
StdLib/Draw.java:280
↓ 24 callersMethodscaleY
(double y)
StdLib/Draw.java:281
↓ 23 callersMethodget
Return the value paired with given key; null if key is not in table.
3-Searching/ST.java:62
↓ 23 callersMethodgetGraphics2D
(BufferedImage image)
StdLib/StdDraw3D.java:3383
↓ 22 callersMethodcreateBranchGroup
Creates a blank BranchGroup with the proper capabilities.
StdLib/StdDraw3D.java:629
↓ 22 callersMethodshowList
Unit test helpers
1-Fundamentals/1-3-BagsQueuesStacks/List.java:600
↓ 20 callersMethodcreateVector3f
Converts three double scalars to a Vector3f.
StdLib/StdDraw3D.java:826
↓ 20 callersMethodequals
Does this SET equal that set.
3-Searching/SET.java:162
↓ 20 callersMethodreadInt
Return the next int from the input stream.
StdLib/In.java:202
↓ 20 callersMethodsort
(String[] a, int W)
5-Strings/5-1-StringSorts/LSD.java:23
↓ 20 callersMethodsplit
(Node h)
6-Context/6-2-BTrees/BTree.java:124
↓ 19 callersMethodrotate
(double xAngle, double yAngle, double zAngle)
StdLib/StdDraw3D.java:3742
↓ 18 callersMethodequals
Is this Picture equal to obj?
StdLib/Picture.java:207
↓ 18 callersMethodisEmpty
Is the input stream empty?
StdLib/In.java:145
↓ 18 callersMethodremove
Exercise 1.3.26
1-Fundamentals/1-3-BagsQueuesStacks/List.java:187
↓ 17 callersMethodgetTransform
()
StdLib/StdDraw3D.java:3598
↓ 16 callersMethodput
(Key key, Value value)
6-Context/6-2-BTrees/BTree.java:78
↓ 16 callersMethodsize
()
3-Searching/3-2-BinarySearchTrees/BST.java:48
↓ 16 callersMethodsize
(Node x)
3-Searching/3-3-BalancedSearchTrees/RedBlackBST.java:60
↓ 16 callersMethodwriteByte
Write the 8-bit byte to standard output.
StdLib/BinaryStdOut.java:54
↓ 16 callersMethodwriteByte
Write the 8-bit byte to the binary output stream.
StdLib/BinaryOut.java:93
↓ 15 callersMethodconnected
Are objects p and q in the same set?
1-Fundamentals/1-5-UnionFind/UF.java:77
↓ 15 callersMethodfrom
Return the vertex where this edge begins.
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:33
↓ 15 callersMethodisEmpty
Returns true if standard input is empty. @return true if and only if standard input is empty
StdLib/BinaryStdIn.java:66
↓ 15 callersMethodreadDouble
Return next double from standard input
StdLib/StdIn.java:68
↓ 15 callersMethodweight
Return the weight of this edge.
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:47
↓ 14 callersMethodaddEdge
Add the edge e to this digraph.
4-Graphs/4-4-ShortestPaths/EdgeWeightedDigraph.java:105
↓ 14 callersMethodrank
(Key key)
3-Searching/3-1-SymbolTables/BinarySearchST.java:80
↓ 14 callersMethodreadChar
Read the next 8 bits from standard input and return as an 8-bit char. Note that <tt>char</tt> is a 16-bit type; to read the next 16 bits as a char, us
StdLib/BinaryStdIn.java:90
↓ 14 callersMethodsetTransform
(Transform3D t)
StdLib/StdDraw3D.java:3604
↓ 14 callersMethodwrite
Write the specified bit to the binary output stream. @param x the <tt>boolean</tt> to write.
StdLib/BinaryOut.java:144
↓ 13 callersMethodadj
Return the list of neighbors of vertex v as in Iterable.
4-Graphs/4-1-UndirectedGraphs/Graph.java:133
↓ 13 callersMethodisEmpty
Is the stack empty?
1-Fundamentals/1-3-BagsQueuesStacks/Stack.java:52
↓ 13 callersMethodto
Return the vertex where this edge ends.
4-Graphs/4-4-ShortestPaths/DirectedEdge.java:40
↓ 12 callersMethodcreateAppearance
Creates an Appearance. @param imageURL Wraps a texture around from this image file. @param fill If true, fills in faces. If false, outlines. @return
StdLib/StdDraw3D.java:709
↓ 12 callersMethodmoveRelative
(Vector3D move)
StdLib/StdDraw3D.java:3958
↓ 12 callersMethodoverlayPixel
Draws one pixel at (x, y).
StdLib/StdDraw3D.java:3057
↓ 12 callersMethodpixel
Draw one pixel at (x, y). @param x the x-coordinate of the pixel @param y the y-coordinate of the pixel
StdLib/StdDraw.java:368
↓ 12 callersMethodpixel
Draw one pixel at (x, y). @param x the x-coordinate of the pixel @param y the y-coordinate of the pixel
StdLib/Draw.java:388
↓ 12 callersMethodreadBoolean
Read the next bit of data from standard input and return as a boolean. @return the next bit of data from standard input as a <tt>boolean</tt> @throws
StdLib/BinaryStdIn.java:75
↓ 12 callersMethodsetPenColor
Set the pen color to the default color (black).
StdLib/StdDraw.java:318
↓ 11 callersMethoddelMin
Delete and return the smallest key on the priority queue. Throw an exception if no such key exists because the priority queue is empty.
2-Sorting/2-4-PriorityQueues/MinPQ.java:132
↓ 11 callersMethodfactorX
(double w)
StdLib/StdDraw.java:267
↓ 11 callersMethodfactorX
(double w)
StdLib/Draw.java:282
↓ 11 callersMethodfactorX
Scales the given width from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:962
↓ 11 callersMethodfactorY
(double h)
StdLib/StdDraw.java:268
↓ 11 callersMethodfactorY
(double h)
StdLib/Draw.java:283
↓ 11 callersMethodfactorY
Scales the given height from user coordinates into 2D pixel coordinates.
StdLib/StdDraw3D.java:973
↓ 11 callersMethodisEmpty
Is the queue empty?
1-Fundamentals/1-3-BagsQueuesStacks/Queue.java:51
↓ 11 callersMethodnext
()
1-Fundamentals/1-2-DataAbstraction/Date.java:57
↓ 11 callersMethodreadLine
Read and return the next line.
StdLib/In.java:159
↓ 11 callersMethodreadStrings
Read rest of input as array of strings
StdLib/StdIn.java:174
↓ 11 callersMethodsetPenRadius
Set the pen size to the default (.002).
StdLib/StdDraw.java:296
↓ 11 callersMethodtimes
Returns the product of this vector and the scalar a. @param a Scalar to multiply by @return (this.x a, this.y a, this.z a)
StdLib/StdDraw3D.java:4335
↓ 11 callersMethodunion
Replace sets containing p and q with their union.
1-Fundamentals/1-5-UnionFind/UF.java:85
↓ 10 callersMethodaddEdge
Add the edge v-w to graph.
4-Graphs/4-1-UndirectedGraphs/Graph.java:123
↓ 10 callersMethodadj
Return the list of neighbors of vertex v as in Iterable.
4-Graphs/4-2-DirectedGraphs/Digraph.java:116
↓ 10 callersMethodcontains
Does this set contain the given key?
3-Searching/SET.java:71
↓ 10 callersMethodcontains
Is the key in the table?
3-Searching/ST.java:77
↓ 10 callersMethodget
(int i)
3-Searching/3-5-Applications/SparseVector.java:29
↓ 10 callersMethodget
Return the color of pixel (i, j).
StdLib/Picture.java:190
↓ 10 callersMethodisEmpty
()
1-Fundamentals/1-3-BagsQueuesStacks/List.java:35
↓ 10 callersMethodprimitive
Draws a Java 3D Primitive object at (x, y, z) with axial rotations (xA, yA, zA).
StdLib/StdDraw3D.java:2468
next →1–100 of 1,619, ranked by callers