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 voidProgram1.disassembleProgram(SimpleWriter out, Sequence<Integer> cp) Disassembles and outputs tooutthe given programcp. -
Uses of Sequence in components.sequence
Classes in components.sequence that implement SequenceModifier and TypeClassDescriptionclassSequence1L<T>Sequencerepresented as ajava.util.ArrayListwith implementations of primary methods.classSequence2L<T>Sequencerepresented as ajava.util.LinkedListwith implementations of primary methods.classSequence3<T>Sequencerepresented as a pair ofStacks with implementations of primary methods.classLayered 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 TypeMethodDescriptionvoidConcatenates ("appends")sto the end ofthis.voidvoidRemoves the substring ofthisstarting at positionpos1and ending at positionpos2-1and puts in its.voidvoidInsertssintothisat positionpos, i.e., after thepos-th entry ofthis; and clearss.voidfinal voidSequence1L.transferFrom(Sequence<T> source) final voidSequence2L.transferFrom(Sequence<T> source) final voidSequence3.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 inassembleanddisassemble.Methods in components.tree with parameters of type SequenceModifier and TypeMethodDescriptionfinal voidvoidAssembles inthisa tree with root labelrootand subtreeschildren; the declaration notwithstanding, the dynamic type of each entry ofchildrenmust be the same as the dynamic type ofthisand the dynamic type ofchildrenmust be the same as that returned bynewSequenceOfTree.final TTree1.disassemble(Sequence<Tree<T>> children) TreeKernel.disassemble(Sequence<Tree<T>> children) Disassemblesthisinto its root label, which is returned as the value of the function, and subtrees inchildren; the declaration notwithstanding, the dynamic type ofchildrenmust be the same as that returned bynewSequenceOfTree.