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
-
SequenceKernel
enhanced with secondary methods. - Sequence1L<T> - Class in components.sequence
-
Sequence
represented as ajava.util.ArrayList
with implementations of primary methods. - Sequence1L() - Constructor for class components.sequence.Sequence1L
-
No-argument constructor.
- Sequence2L<T> - Class in components.sequence
-
Sequence
represented as ajava.util.LinkedList
with implementations of primary methods. - Sequence2L() - Constructor for class components.sequence.Sequence2L
-
No-argument constructor.
- Sequence3<T> - Class in components.sequence
-
Sequence
represented as a pair ofStack
s 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
-
SetKernel
enhanced with secondary methods. - Set1L<T> - Class in components.set
-
Set
represented as ajava.util.Set
with implementations of primary methods. - Set1L() - Constructor for class components.set.Set1L
-
No-argument constructor.
- Set2<T> - Class in components.set
-
Set
represented as aQueue
of elements with implementations of primary methods. - Set2() - Constructor for class components.set.Set2
-
No-argument constructor.
- Set3<T> - Class in components.set
-
Set
represented 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
'scompareTo
order if available; otherwise, compareshashCode
s. - Set3(Comparator<T>) - Constructor for class components.set.Set3
-
Constructor using given
Comparator
'scompare
order. - Set4<T> - Class in components.set
-
Set
represented as a hash table usingSet
s 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.am
toam
. - setFromInt(int) - Method in interface components.naturalnumber.NaturalNumber
-
Sets the value of
this
toi
, wheni
is non-negative. - setFromInt(int) - Method in class components.naturalnumber.NaturalNumberSecondary
- setFromString(String) - Method in interface components.naturalnumber.NaturalNumber
-
Sets the value of
this
to the number whose standard decimal representation as aString
iss
, whens
has the appropriate form (i.e.,s
is the result of the functiontoString
for someNaturalNumber
). - setFromString(String) - Method in class components.naturalnumber.NaturalNumberSecondary
- setHours(int) - Method in interface components.ampmclock.AMPMClock
-
Sets
this.hours
tonewHours
. - SetKernel<T> - Interface in components.set
-
Set kernel component with primary methods.
- setMinutes(int) - Method in interface components.ampmclock.AMPMClock
-
Sets
this.minutes
tonewMinutes
. - setName(String) - Method in class components.program.Program1
- setName(String) - Method in interface components.program.ProgramKernel
-
Replaces the name of
this
withn
. - 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.seconds
tonewSeconds
. - sharesKeyWith(Map<K, V>) - Method in interface components.map.Map
-
Reports whether
this
andm
have 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
-
SimpleReaderKernel
enhanced with secondary methods. - SimpleReader1L - Class in components.simplereader
-
SimpleReader
represented asjava.io.BufferedReader
with 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
-
SimpleWriterKernel
enhanced with secondary methods. - SimpleWriter1L - Class in components.simplewriter
-
SimpleWriter
represented asjava.io.PrintWriter
with 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
this
according to the ordering provided by thecompare
method fromorder
. - sort(Comparator<T>) - Method in class components.queue.QueueSecondary
- SortingMachine<T> - Interface in components.sortingmachine
-
SortingMachineKernel
enhanced with secondary methods. - SortingMachine1L<T> - Class in components.sortingmachine
-
SortingMachine
represented 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
-
SortingMachine
represented 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
-
SortingMachine
represented 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
-
SortingMachine
represented 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
-
SortingMachine
represented as aQueue
and 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
-
StackKernel
enhanced with secondary methods. - Stack1L<T> - Class in components.stack
-
Stack
represented as ajava.util.List
with implementations of primary methods. - Stack1L() - Constructor for class components.stack.Stack1L
-
No-argument constructor.
- Stack2<T> - Class in components.stack
-
Stack
represented 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
-
Stack
represented as aSequence
of 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
, andtransferFrom
methods 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
-
StatementKernel
enhanced 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
-
Stopwatch
represented 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
n
fromthis
. - 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
this
withb
;b
must 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
this
withc
;c
must have the dynamic type returned bynewContext
. - swapRights(List<T>) - Method in interface components.list.List
-
Swaps the right strings of
this
andlist
. - swapRights(List<T>) - Method in class components.list.ListSecondary
All Classes and Interfaces|All Packages|Constant Field Values