Uses of Interface
components.sequence.Sequence
Packages that use Sequence
Package
Description
Provides the
Program
family interfaces and implementing classes.Provides the
Sequence
family interfaces and implementing classes.Provides the
Tree
family interfaces and implementing classes.-
Uses of Sequence in components.program
Methods in components.program that return SequenceModifier and TypeMethodDescriptionProgram.generatedCode()
Generates and returns the sequence of virtual machine instructions ( "byte codes") corresponding tothis
.ProgramSecondary.generatedCode()
Methods in components.program with parameters of type SequenceModifier and TypeMethodDescriptionstatic void
Program1.disassembleProgram
(SimpleWriter out, Sequence<Integer> cp) Disassembles and outputs toout
the given programcp
. -
Uses of Sequence in components.sequence
Classes in components.sequence that implement SequenceModifier and TypeClassDescriptionclass
Sequence1L<T>
Sequence
represented as ajava.util.ArrayList
with implementations of primary methods.class
Sequence2L<T>
Sequence
represented as ajava.util.LinkedList
with implementations of primary methods.class
Sequence3<T>
Sequence
represented as a pair ofStack
s with implementations of primary methods.class
Layered implementations of secondary methods forSequence
.Methods in components.sequence that return SequenceModifier and TypeMethodDescriptionSequence1L.newInstance()
Sequence2L.newInstance()
Sequence3.newInstance()
Methods in components.sequence with parameters of type SequenceModifier and TypeMethodDescriptionvoid
Concatenates ("appends")s
to the end ofthis
.void
void
Removes the substring ofthis
starting at positionpos1
and ending at positionpos2-1
and puts in its
.void
void
Insertss
intothis
at positionpos
, i.e., after thepos
-th entry ofthis
; and clearss
.void
final void
Sequence1L.transferFrom
(Sequence<T> source) final void
Sequence2L.transferFrom
(Sequence<T> source) final void
Sequence3.transferFrom
(Sequence<T> source) -
Uses of Sequence in components.tree
Methods in components.tree that return SequenceModifier and TypeMethodDescriptionTree1.newSequenceOfTree()
TreeKernel.newSequenceOfTree()
Creates and returns an emptySequence<Tree<T>>
of the dynamic type needed inassemble
anddisassemble
.Methods in components.tree with parameters of type SequenceModifier and TypeMethodDescriptionfinal void
void
Assembles inthis
a tree with root labelroot
and subtreeschildren
; the declaration notwithstanding, the dynamic type of each entry ofchildren
must be the same as the dynamic type ofthis
and the dynamic type ofchildren
must be the same as that returned bynewSequenceOfTree
.final T
Tree1.disassemble
(Sequence<Tree<T>> children) TreeKernel.disassemble
(Sequence<Tree<T>> children) Disassemblesthis
into its root label, which is returned as the value of the function, and subtrees inchildren
; the declaration notwithstanding, the dynamic type ofchildren
must be the same as that returned bynewSequenceOfTree
.