Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- seconds() - Method in interface components.ampmclock.AMPMClock
-
Reports
this.seconds. - Sequence<T> - Interface in components.sequence
-
SequenceKernelenhanced with secondary methods. - Sequence1L<T> - Class in components.sequence
-
Sequencerepresented as ajava.util.ArrayListwith implementations of primary methods. - Sequence1L() - Constructor for class components.sequence.Sequence1L
-
No-argument constructor.
- Sequence2L<T> - Class in components.sequence
-
Sequencerepresented as ajava.util.LinkedListwith implementations of primary methods. - Sequence2L() - Constructor for class components.sequence.Sequence2L
-
No-argument constructor.
- Sequence3<T> - Class in components.sequence
-
Sequencerepresented as a pair ofStacks with implementations of primary methods. - Sequence3() - Constructor for class components.sequence.Sequence3
-
No-argument constructor.
- SequenceKernel<T> - Interface in components.sequence
-
Sequence kernel component with primary methods.
- SequenceSecondary<T> - Class in components.sequence
-
Layered implementations of secondary methods for
Sequence. - SequenceSecondary() - Constructor for class components.sequence.SequenceSecondary
- Set<T> - Interface in components.set
-
SetKernelenhanced with secondary methods. - Set1L<T> - Class in components.set
-
Setrepresented as ajava.util.Setwith implementations of primary methods. - Set1L() - Constructor for class components.set.Set1L
-
No-argument constructor.
- Set2<T> - Class in components.set
-
Setrepresented as aQueueof elements with implementations of primary methods. - Set2() - Constructor for class components.set.Set2
-
No-argument constructor.
- Set3<T> - Class in components.set
-
Setrepresented as aBinaryTree(maintained as a binary search tree) of elements with implementations of primary methods. - Set3() - Constructor for class components.set.Set3
-
No-argument constructor: uses
Comparable'scompareToorder if available; otherwise, compareshashCodes. - Set3(Comparator<T>) - Constructor for class components.set.Set3
-
Constructor using given
Comparator'scompareorder. - Set4<T> - Class in components.set
-
Setrepresented as a hash table usingSets for the buckets, with implementations of primary methods. - Set4() - Constructor for class components.set.Set4
-
No-argument constructor, resulting in a hash table of default size.
- Set4(int) - Constructor for class components.set.Set4
-
Constructor resulting in a hash table of size
hashTableSize. - setAM(boolean) - Method in interface components.ampmclock.AMPMClock
-
Sets
this.amtoam. - setFromInt(int) - Method in interface components.naturalnumber.NaturalNumber
-
Sets the value of
thistoi, wheniis non-negative. - setFromInt(int) - Method in class components.naturalnumber.NaturalNumberSecondary
- setFromString(String) - Method in interface components.naturalnumber.NaturalNumber
-
Sets the value of
thisto the number whose standard decimal representation as aStringiss, whenshas the appropriate form (i.e.,sis the result of the functiontoStringfor someNaturalNumber). - setFromString(String) - Method in class components.naturalnumber.NaturalNumberSecondary
- setHours(int) - Method in interface components.ampmclock.AMPMClock
-
Sets
this.hourstonewHours. - SetKernel<T> - Interface in components.set
-
Set kernel component with primary methods.
- setMinutes(int) - Method in interface components.ampmclock.AMPMClock
-
Sets
this.minutestonewMinutes. - setName(String) - Method in class components.program.Program1
- setName(String) - Method in interface components.program.ProgramKernel
-
Replaces the name of
thiswithn. - SetSecondary<T> - Class in components.set
-
Layered implementations of secondary methods for
Set. - SetSecondary() - Constructor for class components.set.SetSecondary
- setSeconds(int) - Method in interface components.ampmclock.AMPMClock
-
Sets
this.secondstonewSeconds. - sharesKeyWith(Map<K, V>) - Method in interface components.map.Map
-
Reports whether
thisandmhave any keys in common. - sharesKeyWith(Map<K, V>) - Method in class components.map.MapSecondary
- SimplePair(K, V) - Constructor for class components.map.MapSecondary.SimplePair
-
Constructor.
- SimpleReader - Interface in components.simplereader
-
SimpleReaderKernelenhanced with secondary methods. - SimpleReader1L - Class in components.simplereader
-
SimpleReaderrepresented asjava.io.BufferedReaderwith implementations of primary methods. - SimpleReader1L() - Constructor for class components.simplereader.SimpleReader1L
-
No-argument constructor (for input from stdin).
- SimpleReader1L(String) - Constructor for class components.simplereader.SimpleReader1L
-
Constructor for input from given file.
- SimpleReaderKernel - Interface in components.simplereader
-
SimpleReader kernel component with primary methods.
- SimpleReaderSecondary - Class in components.simplereader
-
Layered implementations of secondary methods for
SimpleReader. - SimpleReaderSecondary() - Constructor for class components.simplereader.SimpleReaderSecondary
- SimpleWriter - Interface in components.simplewriter
-
SimpleWriterKernelenhanced with secondary methods. - SimpleWriter1L - Class in components.simplewriter
-
SimpleWriterrepresented asjava.io.PrintWriterwith implementations of primary methods. - SimpleWriter1L() - Constructor for class components.simplewriter.SimpleWriter1L
-
No-argument constructor (for output to stdout).
- SimpleWriter1L(String) - Constructor for class components.simplewriter.SimpleWriter1L
-
Constructor for output to given file.
- SimpleWriterKernel - Interface in components.simplewriter
-
SimpleWriter kernel component with primary methods.
- SimpleWriterSecondary - Class in components.simplewriter
-
Layered implementations of secondary methods for
SimpleWriter. - SimpleWriterSecondary() - Constructor for class components.simplewriter.SimpleWriterSecondary
- size() - Method in class components.binarytree.BinaryTree1
- size() - Method in interface components.binarytree.BinaryTreeKernel
-
Reports the size of
this. - size() - Method in class components.map.Map1L
- size() - Method in class components.map.Map2
- size() - Method in class components.map.Map3
- size() - Method in class components.map.Map4
- size() - Method in interface components.map.MapKernel
-
Reports size of
this. - size() - Method in class components.set.Set1L
- size() - Method in class components.set.Set2
- size() - Method in class components.set.Set3
- size() - Method in class components.set.Set4
- size() - Method in interface components.set.SetKernel
-
Reports size (cardinality) of
this. - size() - Method in class components.sortingmachine.SortingMachine1L
- size() - Method in class components.sortingmachine.SortingMachine2
- size() - Method in class components.sortingmachine.SortingMachine3
- size() - Method in class components.sortingmachine.SortingMachine4
- size() - Method in class components.sortingmachine.SortingMachine5
- size() - Method in interface components.sortingmachine.SortingMachineKernel
-
Reports the number of entries in
this. - size() - Method in class components.tree.Tree1
- size() - Method in interface components.tree.TreeKernel
-
Reports the size of
this. - SKIP - Enum constant in enum class components.program.Program.Instruction
-
Byte code = 4.
- sort(Comparator<T>) - Method in interface components.queue.Queue
-
Sorts
thisaccording to the ordering provided by thecomparemethod fromorder. - sort(Comparator<T>) - Method in class components.queue.QueueSecondary
- SortingMachine<T> - Interface in components.sortingmachine
-
SortingMachineKernelenhanced with secondary methods. - SortingMachine1L<T> - Class in components.sortingmachine
-
SortingMachinerepresented asjava.util.List(using an embedding ofjava.util.Collections.sort), with implementations of primary methods. - SortingMachine1L(Comparator<T>) - Constructor for class components.sortingmachine.SortingMachine1L
-
Constructor from order.
- SortingMachine2<T> - Class in components.sortingmachine
-
SortingMachinerepresented as aQueue(using an embedding of selection sort), with implementations of primary methods. - SortingMachine2(Comparator<T>) - Constructor for class components.sortingmachine.SortingMachine2
-
Constructor from order.
- SortingMachine3<T> - Class in components.sortingmachine
-
SortingMachinerepresented as aQueue(using an embedding of insertion sort), with implementations of primary methods. - SortingMachine3(Comparator<T>) - Constructor for class components.sortingmachine.SortingMachine3
-
Constructor from order.
- SortingMachine4<T> - Class in components.sortingmachine
-
SortingMachinerepresented as aQueue(using an embedding of quicksort), with implementations of primary methods. - SortingMachine4(Comparator<T>) - Constructor for class components.sortingmachine.SortingMachine4
-
Constructor from order.
- SortingMachine5<T> - Class in components.sortingmachine
-
SortingMachinerepresented as aQueueand an array (using an embedding of heap sort), with implementations of primary methods. - SortingMachine5(Comparator<T>) - Constructor for class components.sortingmachine.SortingMachine5
-
Constructor from order.
- SortingMachineKernel<T> - Interface in components.sortingmachine
-
Sorting machine kernel component with primary methods.
- SortingMachineSecondary<T> - Class in components.sortingmachine
-
Layered implementations of secondary methods for
SortingMachine. - SortingMachineSecondary() - Constructor for class components.sortingmachine.SortingMachineSecondary
- Stack<T> - Interface in components.stack
-
StackKernelenhanced with secondary methods. - Stack1L<T> - Class in components.stack
-
Stackrepresented as ajava.util.Listwith implementations of primary methods. - Stack1L() - Constructor for class components.stack.Stack1L
-
No-argument constructor.
- Stack2<T> - Class in components.stack
-
Stackrepresented as a singly linked list, done "bare-handed", with implementations of primary methods. - Stack2() - Constructor for class components.stack.Stack2
-
No-argument constructor.
- Stack3<T> - Class in components.stack
-
Stackrepresented as aSequenceof entries, with implementations of primary methods. - Stack3() - Constructor for class components.stack.Stack3
-
No-argument constructor.
- StackKernel<T> - Interface in components.stack
-
Last-in-first-out (LIFO) stack kernel component with primary methods.
- StackSecondary<T> - Class in components.stack
-
Layered implementations of secondary methods for
Stack. - StackSecondary() - Constructor for class components.stack.StackSecondary
- Standard<T> - Interface in components.standard
-
Interface for
newInstance,clear, andtransferFrommethods that are expected of every mutable type in the "components" type families. - start() - Method in interface components.stopwatch.Stopwatch
-
Starts
this. - start() - Method in class components.stopwatch.Stopwatch1
- Statement - Interface in components.statement
-
StatementKernelenhanced with secondary methods. - Statement1 - Class in components.statement
- Statement1() - Constructor for class components.statement.Statement1
-
No-argument constructor.
- StatementKernel - Interface in components.statement
-
Statement kernel component with kernel methods.
- StatementKernel.Condition - Enum Class in components.statement
-
The possible conditions for IF, IF_ELSE, and WHILE statements.
- StatementKernel.Kind - Enum Class in components.statement
-
The kinds of statements.
- StatementSecondary - Class in components.statement
-
Layered implementations of secondary methods for
Statement. - StatementSecondary() - Constructor for class components.statement.StatementSecondary
- stop() - Method in interface components.stopwatch.Stopwatch
-
Stops
this. - stop() - Method in class components.stopwatch.Stopwatch1
- Stopwatch - Interface in components.stopwatch
-
Stopwatch component with all its methods.
- Stopwatch1 - Class in components.stopwatch
-
Stopwatchrepresented with two integers and a boolean, with implementations of all methods. - Stopwatch1() - Constructor for class components.stopwatch.Stopwatch1
-
No-argument constructor.
- subtract(NaturalNumber) - Method in interface components.naturalnumber.NaturalNumber
-
Subtracts
nfromthis. - subtract(NaturalNumber) - Method in class components.naturalnumber.NaturalNumberSecondary
- swapBody(Statement) - Method in class components.program.Program1
- swapBody(Statement) - Method in interface components.program.ProgramKernel
-
Exchanges the body of
thiswithb;bmust have the dynamic type returned bynewBody. - swapContext(Map<String, Statement>) - Method in class components.program.Program1
- swapContext(Map<String, Statement>) - Method in interface components.program.ProgramKernel
-
Exchanges the context of
thiswithc;cmust have the dynamic type returned bynewContext. - swapRights(List<T>) - Method in interface components.list.List
-
Swaps the right strings of
thisandlist. - swapRights(List<T>) - Method in class components.list.ListSecondary
All Classes and Interfaces|All Packages|Constant Field Values