- sample() - Method in class simulation.NormalDistribution
-
A numerical approximation is used
- set(int, T) - Method in class myUtil.MyArrayList
-
- set(T) - Method in class myUtil.MyLinkedList.MyListIterator
-
- set(int, T) - Method in class myUtil.MyLinkedList
-
- set(int, T) - Method in interface myUtil.MyList
-
Replace the element at i with new one provided by the parameter item.
- set(int, T) - Method in class myUtil.MySLinkedList
-
- set(T) - Method in class myUtil.NodeAndIterators.MyListIterator
-
- set(int, T) - Method in class myUtil.NodeAndIterators
-
- Set<T> - Interface in myUtil
-
- set(int, T) - Method in class myUtil.SortedArrayList
-
Set (insert) item to the ith position if the new item is not out of order; otherwise
an IllegalArgumentException will be thrown.
- setDepth(double) - Method in class shapes.Cylinder
-
Reset the depth of this Cylinder.
- setDepth(double) - Method in class shapes.RectanglePrism
-
Set the depth of this Cube.
- setDepth(double) - Method in interface shapes.ThreeD
-
Set the depth of this ThreeD object.
- setHeight(double) - Method in class shapes.Rectangle
-
Set the height dimension of this Rectangle.
- setLength(double) - Method in class shapes.Rectangle
-
Set the length dimension of this Rectangle.
- setRadius(double) - Method in class shapes.Circle
-
Set the radius of this Circle.
- Shape - Class in shapes
-
- Shape() - Constructor for class shapes.Shape
-
Construct a generic instance of unknown shape type.
- Shape(String) - Constructor for class shapes.Shape
-
Construct a Shape whose name is specified in the argument.
- shapes - package shapes
-
- shuffle() - Method in class poker.PokerDeck
-
Randomly shuffle the cards
- SignedAddSubInt - Class in myBigInteger
-
This BigIng extends AddSubInt with sign supported.
- SignedAddSubInt() - Constructor for class myBigInteger.SignedAddSubInt
-
- SignedAddSubInt(String) - Constructor for class myBigInteger.SignedAddSubInt
-
This is a constructor that construct an AddSubInt with value presented
by the input string.
- SignedAddSubInt(SignedAddSubInt) - Constructor for class myBigInteger.SignedAddSubInt
-
Copy constructor; a deep copy should be performed.
- size() - Method in class myUtil.AQueue
-
- size() - Method in class myUtil.AStack
-
This is not required by the standard API of Stack.
- size() - Method in class myUtil.BinaryTree
-
- size() - Method in class myUtil.LQueue
-
- size() - Method in class myUtil.LStack
-
This is not required by the standard API of Stack.
- size() - Method in class myUtil.MyArrayList
-
- size() - Method in class myUtil.MyLinkedList
-
- size() - Method in interface myUtil.MyList
-
- size() - Method in class myUtil.MySLinkedList
-
- size() - Method in class myUtil.NodeAndIterators
-
- size() - Method in interface myUtil.Queue
-
- size() - Method in interface myUtil.Set
-
Cardinality (size) of this Set
- SortedArrayList<T extends java.lang.Comparable<T>> - Class in myUtil
-
- SortedArrayList() - Constructor for class myUtil.SortedArrayList
-
- SortedArrayList(int) - Constructor for class myUtil.SortedArrayList
-
This constructor will set the internal array to a Comparable Object array of
size specified by the user.
- SortedArrayList(SortedArrayList<T>) - Constructor for class myUtil.SortedArrayList
-
This is a copy constructor
- Stack<T> - Interface in myUtil
-
This generic interface is the standard Stack API
- subtract(BigInt) - Method in class myBigInteger.AdditionOnlyInt
-
Students don't have to implement this method for Asg3.
- subtract(AddSubInt, AddSubInt) - Static method in class myBigInteger.AddSubInt
-
- subtract(BigInt) - Method in class myBigInteger.AddSubInt
-
- subtract(BigInt) - Method in interface myBigInteger.BigInt
-
Subtract a BigInt x from this BigInt.
- subtract(SignedAddSubInt, SignedAddSubInt) - Static method in class myBigInteger.SignedAddSubInt
-
- subtract(BigInt) - Method in class myBigInteger.SignedAddSubInt
-
- subtract(UnsignedBigInt, UnsignedBigInt) - Static method in class myBigInteger.UnsignedBigInt
-
- SyntaxTree - Class in myUtil
-
This is class that will store the syntax tree of the input arithmetic express
in a binary tree where both value and operators are String data in the tree
nodes.
- SyntaxTree(String) - Constructor for class myUtil.SyntaxTree
-
Build up the syntax tree of the input arithmetic expression.