- SAPLING.
Static variable in class jdsltools.testers.binarytreetester.BinaryTreeFactory
- Produces a tree with three nodes, one internal and two external.
- saveState().
Method in class jdsltools.visualization.ElementPanels.ElementPanel
-
- saveState().
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
- saveState().
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
- saveState().
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
- screenLoc(Container, Position).
Method in class jdsltools.visualization.ContainerVisualizer
-
Returns the coordinates that the given locator would have
if the given container were visualized.
- screenLoc(Container, Position).
Method in class jdsltools.visualization.ContainerVisualizers.EnumerationVisualizer
-
Returns the coordinates that the given locator would have
if the given container were visualized.
- screenLoc(Container, Position).
Method in class jdsltools.visualization.ContainerVisualizers.HeapVisualizer
-
Returns the coordinates that the given locator would have
if the given container were visualized.
- screenLoc(Container, Position).
Method in class jdsltools.visualization.ContainerVisualizers.RedBlackVisualizer
-
Returns the coordinates that the given locator would have
if the given container were visualized.
- screenLoc(Container, Position).
Method in class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
Returns the coordinates that the given locator would have
if the given container were visualized.
- screenLoc(Container, Position).
Method in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
Returns the coordinates that the given locator would have
if the given container were visualized.
- select().
Method in class jdsltools.visualization.FreeLocator
-
- select().
Method in class jdsltools.visualization.HeapFreeLocator
-
- select().
Method in class jdsltools.visualization.RedBlackFreeLocator
-
- SELECTED2_COLOR.
Static variable in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
- SELECTED_COLOR.
Static variable in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
- selectedEvent(Object, boolean).
Method in class jdsltools.visualization.VisualizationController
-
- selectedPosition1(Position, Container).
Method in class jdsltools.visualization.VisualizationController
-
- selectedPosition2(Position, Container).
Method in class jdsltools.visualization.VisualizationController
-
- selectPosition2Button_.
Variable in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
- selectPosition2Button_.
Variable in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
- seq.
Variable in class jdsl.simple.ref.SequenceSimplePriorityQueue
-
- seq_.
Variable in class jdsltools.visualization.ButtonPanels.SequenceButtonPanel
-
- SeqAfterButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqAfterButtonRow
-
- SeqAtRankButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqAtRankButtonRow
-
- SeqBeforeButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqBeforeButtonRow
-
- SeqDuplicator().
Constructor for class jdsltools.visualization.ContainerDuplicators.SeqDuplicator
-
- SeqFirstButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqFirstButtonRow
-
- SeqInsertAfterButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqInsertAfterButtonRow
-
- SeqInsertAtRankButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqInsertAtRankButtonRow
-
- SeqInsertBeforeButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqInsertBeforeButtonRow
-
- SeqInsertFirstButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqInsertFirstButtonRow
-
- SeqInsertLastButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqInsertLastButtonRow
-
- SeqLastButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqLastButtonRow
-
- SeqRankOfButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRankOfButtonRow
-
- SeqRemoveAfterButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRemoveAfterButtonRow
-
- SeqRemoveAtRankButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRemoveAtRankButtonRow
-
- SeqRemoveBeforeButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRemoveBeforeButtonRow
-
- SeqRemoveButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRemoveButtonRow
-
- SeqRemoveFirstButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRemoveFirstButtonRow
-
- SeqRemoveLastButtonRow(AnimationController).
Constructor for class jdsltools.visualization.ButtonRows.SeqRemoveLastButtonRow
-
- sequence_.
Variable in class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
- SequenceButtonPanel().
Constructor for class jdsltools.visualization.ButtonPanels.SequenceButtonPanel
-
Constructor is empty to support instantiation with
java.lang.class.newInstance().
- SequenceFullException(String).
Constructor for class jdsltools.examples.SequenceFullException
-
- SequenceLocPriorityQueue(Comparator).
Constructor for class jdsl.core.ref.SequenceLocPriorityQueue
-
- SequencePosition(Container, Object, int).
Constructor for class jdsl.core.ref.SequencePosition
- Constructor, needs to receive the container that is holding
this position as well as the object that it should hold and
its index
- SequencePosition(Container, Object, int).
Constructor for class jdsltools.examples.SequencePosition
- Constructor, needs to receive the container that is holding
this position as well as the object that it should hold and
its index
- SequenceRemoveButtonsSubpanel(AnimationController).
Constructor for class jdsltools.visualization.ButtonPanels.SequenceRemoveButtonsSubpanel
-
- SequenceSimplePriorityQueue(Comparator).
Constructor for class jdsl.simple.ref.SequenceSimplePriorityQueue
-
- SequenceStack().
Constructor for class jdsl.simple.ref.SequenceStack
-
- SequenceStack(Object).
Constructor for class jdsl.simple.ref.SequenceStack
-
- SequenceSubpanel(AnimationController).
Constructor for class jdsltools.visualization.ButtonPanels.SequenceSubpanel
-
- SequenceTest(Factory, StructureComparator).
Constructor for class jdsltools.testers.sequencetester.SequenceTest
-
- SequenceVisualizer().
Constructor for class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
No parameters, to support instantiation with java.lang.class.newInstance().
- set(Object, Object).
Method in interface jdsl.core.api.Decorable
-
Sets an attribute value using the name with which the attribute was
previously created by a client.
- setBaseParameter(Object, int).
Method in class jdsltools.testers.GenericTester
- Sets a parameter that can be passed in during a call to an
execute
method.
- setBaseParameter(String, int).
Method in class jdsltools.testers.GenericTester
- Sets a parameter that can be passed in during a call to an
execute
method.
- setBlack(Position).
Method in class jdsl.simple.ref.SimpleRBTree
-
- setClient(TimelineClient).
Method in class jdsltools.visualization.DoNothingTimeline
-
- setClient(TimelineClient).
Method in class jdsltools.visualization.GenericShape
-
Sets the link to the client.
- setClient(TimelineClient).
Method in interface jdsltools.visualization.Timeline
-
Set a new client (there is only one at a time).
- setCMenu(ContainersMenu).
Method in class jdsltools.visualization.MultiContainer
-
- setColor(boolean).
Method in class jdsl.simple.ref.RBTItem
-
- setColor(Color).
Method in class jdsl.core.algo.treetraversals.DrawingInfo
-
- setColor(int).
Method in class jdsl.core.ref.RBTLocator
-
- setColor(Position, boolean).
Method in class jdsl.simple.ref.SimpleRBTree
-
- setColorInfo(RedBlackTreeColorInfo).
Method in class jdsltools.visualization.RedBlackFreeLocator
-
- setColorInfoManager(RedBlackTreeColorInfo).
Method in interface jdsltools.visualization.ElementVisualizer
-
- setColorInfoManager(RedBlackTreeColorInfo).
Method in class jdsltools.visualization.ElementVisualizers.HeapElementVisualizer
-
- setColorInfoManager(RedBlackTreeColorInfo).
Method in class jdsltools.visualization.ElementVisualizers.IntegerVisualizer
-
- setColorInfoManager(RedBlackTreeColorInfo).
Method in class jdsltools.visualization.ElementVisualizers.RBKElementVisualizer
-
- setColorInfoManager(RedBlackTreeColorInfo).
Method in class jdsltools.visualization.ElementVisualizers.TreeElementVisualizer
-
- setComparator(Comparator).
Method in class jdsl.core.ref.BTHeap
-
This method establishes a ContainerInterfaces.Comparator that an
ordered container should use to compare its elements.
- setComparator(Comparator).
Method in interface jdsl.core.api.ComparatorBased
-
This method establishes a ContainerInterfaces.Comparator that an
ordered container should use to compare its elements.
- setComparator(Comparator).
Method in class jdsl.core.ref.RBTree
- Sets the Comparator to be used in this container.
- setContainer(Container).
Method in interface jdsltools.visualization.ContainerController
-
- setContainer(Container).
Method in class jdsl.core.ref.GenericPosition
- Sets the container for this position.
- setContainer(Container).
Method in class jdsltools.visualization.GenericPosition
-
- setContainer(Container).
Method in class jdsl.core.ref.LocItem
-
- setContainer(Container).
Method in class jdsl.core.ref.Node
-
- setContainer(Container).
Method in class jdsl.core.ref.PELocator
-
- setContainer(Container).
Method in class jdsl.core.ref.RBTLocator
-
- setContainer(Container).
Method in class jdsltools.visualization.TimelinePair
-
- setContainer(Container).
Method in class jdsltools.visualization.VisualizationController
-
- setContainer(NamedContainer).
Method in class jdsltools.visualization.MultiContainer
-
- setContainer(Object).
Method in class jdsltools.testers.binarytreetester.BinaryTreeFactory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setContainer(Object).
Method in class jdsltools.testers.circularseqtester.CircularSeqFactory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setContainer(Object).
Method in interface jdsltools.testers.Factory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setContainer(Object).
Method in class jdsltools.testers.graphtester.GraphFactory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setContainer(Object).
Method in class jdsltools.testers.KBCFactory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setContainer(Object).
Method in class jdsltools.testers.sequencetester.PosSeqFactory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setContainer(Object).
Method in class jdsltools.testers.pqtester.PriorityQFactory
- Returns the current container.
- setContainer(Object).
Method in class jdsltools.testers.stackTester.StackFactory
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
- setCurrent(Position).
Method in class jdsl.core.ref.InOrderIterator
- Sets the Iterator's current Locator to newCurrent.
- setDimensions(int, int).
Method in class jdsltools.visualization.TimelinePair
-
- setDirectionFrom(Edge, Vertex).
Method in class jdsl.core.ref.FastSILGraph
-
- setDirectionFrom(Edge, Vertex).
Method in interface jdsl.core.api.Graph
- Sets the direction of an edge away from a vertex.
- setDirectionFrom(Edge, Vertex).
Method in class jdsl.core.ref.SILGraph
- Sets the direction of an edge away from a vertex.
- setDirectionTo(Edge, Vertex).
Method in class jdsl.core.ref.FastSILGraph
-
- setDirectionTo(Edge, Vertex).
Method in interface jdsl.core.api.Graph
- Sets the direction of an edge towards a vertex.
- setDirectionTo(Edge, Vertex).
Method in class jdsl.core.ref.SILGraph
- Sets the direction of an edge to a vertex.
- setDisplayLocator(Locator).
Method in class jdsltools.visualization.FreeLocator
-
- setDisplayLocator(Locator).
Method in class jdsltools.visualization.HeapFreeLocator
-
- setDisplayLocator(Locator).
Method in class jdsltools.visualization.RedBlackFreeLocator
-
- setDistance(Vertex, int).
Method in class jdsl.core.algo.weightedgraphs.MyDijkstra
- Sets the distance to reach a vertex from it origin.
- setElement(Object).
Method in class jdsl.core.ref.AMSGTEdge
-
- setElement(Object).
Method in class jdsl.core.ref.AMSGTVertex
-
- setElement(Object).
Method in class jdsl.core.ref.GenericPosition
- Sets the element for this position.
- setElement(Object).
Method in class jdsltools.visualization.GenericPosition
-
- setElement(Object).
Method in class jdsl.simple.ref.Item
-
- setElement(Object).
Method in class jdsl.core.ref.MutablePosition
-
- setElement(Object).
Method in class jdsl.core.ref.Node
-
- setElement(Object).
Method in class jdsl.core.ref.PELocator
-
- setElement(Object).
Method in class jdsl.core.ref.RBTLocator
-
- setErrorMsg(String).
Method in class jdsltools.visualization.TimelinePair
-
- setFunctionOutput(Object).
Method in class jdsltools.visualization.TwoOverTwoVisualizerFrame
-
- setHeight(int).
Method in class jdsl.simple.ref.AVLItem
-
- setInfo(String).
Method in class jdsltools.visualization.DoNothingTimeline
-
- setInfo(String).
Method in class jdsltools.visualization.GenericShape
-
- setInfo(String).
Method in interface jdsltools.visualization.Timeline
-
- setInfo(String).
Method in class jdsltools.visualization.TimelinePair
-
- setKey(Object).
Method in class jdsl.simple.ref.Item
-
- setKey(Object).
Method in class jdsl.core.ref.RBTLocator
-
- setLeft(Node).
Method in class jdsl.core.ref.Node
-
- setLoc(Object).
Method in class jdsltools.testers.TestStructure
-
- setLocator(Vertex, Locator).
Method in class jdsl.core.algo.weightedgraphs.MyDijkstra
- Sets the locator of a vertex in the priority queue.
- setLocatorInvalid().
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
- setLocName(String, int).
Method in class jdsltools.testers.TestStructure
-
- setName(String).
Method in class jdsltools.visualization.NamedContainer
-
- setName(String, int).
Method in class jdsltools.testers.TestStructure
-
- setNoException(String, PrintStream).
Method in class jdsltools.testers.GenericTester
- Sets the error message if
executeCheckException
does not
throw the expected exception.
- setNoException(String, PrintWriter).
Method in class jdsltools.testers.GenericTester
- Sets the error message if
executeCheckException
does not
throw the expected exception.
- setOptions(String[], String).
Method in class jdsltools.testers.GenericTester
- This method allows the user to set the TesterGetOpts object
The TesterGetOpts gets command line options and sets variables based
on those options.
- setParameter(Object, int).
Method in class jdsltools.testers.GenericTester
- Sets a parameter that can be passed in during a call to an
execute
method.
- setParameter(String, int).
Method in class jdsltools.testers.GenericTester
- Sets a parameter that can be passed in during a call to an
execute
method.
- setParamPosition(Position).
Method in class jdsltools.visualization.ElementPanels.ElementPanel
-
Stores a Locator in the ElementPanel, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition(Position).
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
Stores a Locator in the ElementPanel, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
Stores a Locator in the ElementPanel, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
Stores a Locator in the ElementPanel, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition1(Position).
Method in interface jdsltools.visualization.ElementSelector
-
Stores a Locator in the ElementSelector, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition1(Position).
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
Stores a Locator in the ElementSelector, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition1(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
Stores a Locator in the ElementSelector, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition1(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
Stores a Locator in the ElementSelector, to be reported later, when
paramLocator1() or paramLocator2() is called.
- setParamPosition1(Position).
Method in class jdsltools.visualization.VisualizationController
-
- setParamPosition2(Position).
Method in interface jdsltools.visualization.ElementSelector
-
- setParamPosition2(Position).
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
- setParamPosition2(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
- setParamPosition2(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
- setParamPosition2(Position).
Method in class jdsltools.visualization.VisualizationController
-
- setParent(Node).
Method in class jdsl.core.ref.Node
-
- setParser(TesterStringParser).
Method in class jdsltools.testers.GenericFactory
- Sets the parser
- setPosition(Position).
Method in class jdsl.core.ref.LocItem
-
- setPosition(Position).
Method in class jdsl.core.ref.PELocator
-
- setPosition(Position).
Method in class jdsl.core.ref.RBTLocator
-
- setPosition(Position).
Method in class jdsltools.visualization.TimelinePair
-
- setPosition2(Position).
Method in class jdsltools.visualization.TimelinePair
-
- setRed(Position).
Method in class jdsl.simple.ref.SimpleRBTree
-
- setRefFactory(Factory).
Method in class jdsltools.testers.GenericTester
- This sets the reference factory to ref and sets the flag
to use a reference structure to true, so that reference structures
will be operated on.
- setReturnElement(Object).
Method in class jdsltools.visualization.ElementPanels.ElementPanel
-
Displays the result of a method call (one which returns user elements,
not Locators, e.g., remove or replace) in the ElementPanel.
- setReturnElement(Object).
Method in interface jdsltools.visualization.ElementSelector
-
Displays the result of a method call (one which returns user elements,
not Locators, e.g., remove or replace) in the ElementSelector.
- setReturnElement(Object).
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
Displays the result of a method call (one which returns user elements,
not Locators, e.g., remove or replace) in the ElementPanel.
- setReturnElement(Object).
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
Displays the result of a method call (one which returns user elements,
not Locators, e.g., remove or replace) in the ElementPanel.
- setReturnElement(Object).
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
Displays the result of a method call (one which returns user elements,
not Locators, e.g., remove or replace) in the ElementPanel.
- setReturnElement(Object).
Method in class jdsltools.visualization.VisualizationController
-
- setReturnFail(String, String, PrintStream).
Method in class jdsltools.testers.GenericTester
- Sets the error message if the return of the
execute
d
method doesn't match the specified return.
- setReturnFail(String, String, PrintWriter).
Method in class jdsltools.testers.GenericTester
- Sets the error message if the return of the
execute
d
method doesn't match the specified return.
- setReturnLocator(Locator).
Method in interface jdsltools.visualization.ElementSelector
-
Displays the result of a method call (one which returns Locators)
in the ElementSelector.
- setReturnLocator(Locator).
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementSelector.
- setReturnLocator(Locator).
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementSelector.
- setReturnLocator(Locator).
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementSelector.
- setReturnLocator(Locator).
Method in class jdsltools.visualization.VisualizationController
-
- setReturnPosition(Position).
Method in class jdsltools.visualization.ElementPanels.ElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementPanel.
- setReturnPosition(Position).
Method in interface jdsltools.visualization.ElementSelector
-
Displays the result of a method call (one which returns Positions)
in the ElementSelector.
- setReturnPosition(Position).
Method in class jdsltools.visualization.ElementPanels.EmptyElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementPanel.
- setReturnPosition(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementPanel.
- setReturnPosition(Position).
Method in class jdsltools.visualization.ElementPanels.IntegerLocatorElementPanel
-
Displays the result of a method call (one which returns Locators)
in the ElementPanel.
- setReturnPosition(Position).
Method in class jdsltools.visualization.VisualizationController
-
- setRight(Node).
Method in class jdsl.core.ref.Node
-
- setScroller(ScrollPane).
Method in class jdsltools.visualization.ContainerVisualizer
-
- setScroller(ScrollPane).
Method in class jdsltools.visualization.ContainerVisualizers.EnumerationVisualizer
-
- setScroller(ScrollPane).
Method in class jdsltools.visualization.ContainerVisualizers.HeapVisualizer
-
- setScroller(ScrollPane).
Method in class jdsltools.visualization.ContainerVisualizers.RedBlackVisualizer
-
- setScroller(ScrollPane).
Method in class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
- setScroller(ScrollPane).
Method in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
- setSelectedPosition(Position).
Method in class jdsltools.visualization.ContainerVisualizer
-
selects the given locator and redisplays the container
- setSelectedPosition(Position).
Method in class jdsltools.visualization.ContainerVisualizers.EnumerationVisualizer
-
selects the given locator and redisplays the container
- setSelectedPosition(Position).
Method in class jdsltools.visualization.ContainerVisualizers.HeapVisualizer
-
selects the given locator and redisplays the container
- setSelectedPosition(Position).
Method in class jdsltools.visualization.ContainerVisualizers.RedBlackVisualizer
-
selects the given locator and redisplays the container
- setSelectedPosition(Position).
Method in class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
selects the given locator and redisplays the container
- setSelectedPosition(Position).
Method in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
selects the given locator and redisplays the container
- setSize(int, int).
Method in class jdsltools.visualization.GenericShape
-
Method of Canvas that is called by AWT for layout purposes.
- setStruct(Object).
Method in class jdsltools.testers.TestStructure
-
- setTestInfo(boolean).
Method in class jdsltools.testers.GenericTester
- Enable or disable the tester to print test info
- setTimelinePos(Point).
Method in class jdsltools.visualization.DoNothingTimeline
-
- setTimelinePos(Point).
Method in class jdsltools.visualization.GenericShape
-
- setTimelinePos(Point).
Method in interface jdsltools.visualization.Timeline
-
- setTimelineToBottom().
Method in class jdsltools.visualization.DoNothingTimeline
-
- setTimelineToBottom().
Method in class jdsltools.visualization.GenericShape
-
- setTimelineToBottom().
Method in interface jdsltools.visualization.Timeline
-
- setTypes(Choice).
Method in class jdsltools.visualization.cs16Viz
-
- setULE(Edge).
Method in class jdsl.core.ref.AMSGTEdge
-
- setULV(Vertex).
Method in class jdsl.core.ref.AMSGTVertex
-
- setUnexpectedException(String, PrintStream).
Method in class jdsltools.testers.GenericTester
- Sets the error message if any of the
execute
methods
throws an unexpected exception.
- setUnexpectedException(String, PrintWriter).
Method in class jdsltools.testers.GenericTester
- Sets the error message if any of the
execute
methods
throws an unexpected exception.
- setup().
Method in class jdsltools.testers.stackTester.StackTest
-
- setVC(VisualizationController).
Method in class jdsltools.visualization.ContainersMenu
-
- setVisualizer(ContainerVisualizer).
Method in class jdsltools.visualization.NamedContainer
-
- setWeight(Edge, int).
Method in class jdsl.core.algo.weightedgraphs.MyDijkstra
-
- setX(int).
Method in class jdsl.core.algo.treetraversals.DrawingInfo
-
- setY(int).
Method in class jdsl.core.algo.treetraversals.DrawingInfo
-
- showString(String).
Method in class jdsltools.visualization.ContainerVisualizer
-
Display the given string.
- showString(String).
Method in class jdsltools.visualization.ContainerVisualizers.EnumerationVisualizer
-
Display the given string.
- showString(String).
Method in class jdsltools.visualization.ContainerVisualizers.HeapVisualizer
-
Display the given string.
- showString(String).
Method in class jdsltools.visualization.ContainerVisualizers.RedBlackVisualizer
-
Display the given string.
- showString(String).
Method in class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
Display the given string.
- showString(String).
Method in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
Display the given string.
- sibling(Position).
Method in class jdsl.core.ref.BTNodeBinaryTree
-
Returns the sibling of a
Position
- sibling(Position).
Method in interface jdsl.core.api.InspectableBinaryTree
-
Gets the sibling
Position
of the
Position
passed in.
- sibling(Position).
Method in class jdsl.core.ref.LinkedBinaryTree
-
- siblings(Position).
Method in class jdsl.core.ref.AMSGraphTree
-
- siblings(Position).
Method in class jdsl.core.algo.graphtraversals.BCTree
-
- siblings(Position).
Method in class jdsl.core.ref.BTNodeBinaryTree
-
The returned Enumeration is guaranteed to give the siblings in
left-to-right order.
- siblings(Position).
Method in interface jdsl.core.api.InspectableTree
-
The returned Enumeration is guaranteed to give the siblings in order from left to right.
- siblings(Position).
Method in class jdsl.core.ref.LinkedBinaryTree
-
- SILEdge(Container, Object, Vertex, Vertex, boolean).
Constructor for class jdsl.core.ref.SILEdge
-
Construct a new edge for use in a SimpleIncidenceListGraph.
- SILGraph().
Constructor for class jdsl.core.ref.SILGraph
- Constructs a new, empty Graph.
- SimpleAVLTree(Comparator).
Constructor for class jdsl.simple.ref.SimpleAVLTree
-
- SimpleBinarySearchTree(Comparator).
Constructor for class jdsl.simple.ref.SimpleBinarySearchTree
-
- SimpleRBTree(Comparator).
Constructor for class jdsl.simple.ref.SimpleRBTree
-
- size().
Method in class jdsl.core.ref.AMSGraphTree
-
- size().
Method in class jdsl.simple.ref.ArrayQueue
-
Return the size of the queue, that is the number of elements it has.
- size().
Method in class jdsltools.examples.ArraySequence
-
- size().
Method in class jdsl.simple.ref.ArrayStack
-
Return the size of the stack, that is the number of elements it has.
- size().
Method in class jdsl.core.algo.graphtraversals.BCTree
-
- size().
Method in class jdsl.core.ref.BTHeap
-
Number of elements in the container.
- size().
Method in class jdsl.core.ref.BTNodeBinaryTree
-
Returns the size of this container.
- size().
Method in class jdsl.core.ref.CircularNodeSequence
- Gets the number of elements in this container.
- size().
Method in interface jdsl.simple.api.Deque
-
Gets the number of elements.
- size().
Method in class jdsl.simple.ref.DequeStack
-
- size().
Method in class jdsl.core.ref.FastSILGraph
-
- size().
Method in class jdsl.simple.ref.HeapSimplePriorityQueue
-
- size().
Method in class jdsl.core.ref.LinkedBinaryTree
-
- size().
Method in class jdsl.simple.ref.LinkedQueue
-
- size().
Method in class jdsl.simple.ref.LinkedStack
-
- size().
Method in class jdsl.simple.ref.MyDeque
-
Return the size of the deque, that is the number of elements it has.
- size().
Method in class jdsl.core.ref.NodeSequence
- Return the number of elements in the sequence
- size().
Method in interface jdsl.simple.api.Queue
-
Return the number of elements.
- size().
Method in class jdsl.core.ref.RBTree
-
- size().
Method in class jdsl.simple.ref.SequenceSimplePriorityQueue
-
- size().
Method in class jdsl.simple.ref.SequenceStack
-
- size().
Method in class jdsl.core.ref.SILGraph
- Gets the size of this graph.
- size().
Method in class jdsl.simple.ref.SimpleBinarySearchTree
-
- size().
Method in interface jdsl.simple.api.SimpleContainer
-
Return the number of elements stored in the container, where each element is counted
according to is multiplicity.
- size().
Method in interface jdsl.simple.api.Stack
-
Return the number of elements.
- size().
Method in class jdsl.core.ref.VCSVectorCircularSequence
- Gets the number of elements in this container.
- size().
Method in class jdsl.core.ref.VectorSequence
-
Gets the size of this container.
- size(int).
Method in class jdsl.core.ref.BTHeap
- Changes the current size.
- size_.
Variable in class jdsltools.visualization.GenericShape
-
- snapshot().
Method in class jdsltools.visualization.MultiContainer
-
- snapshot().
Static method in class jdsltools.visualization.VisualizationController
-
These static methods allow students to take snapshots of
their Containers using only one line of code, without
instance variables and parameters to constructors.
- snapshot(Color).
Method in class jdsltools.visualization.MultiContainer
-
- snapshot(Color).
Static method in class jdsltools.visualization.VisualizationController
-
These static methods allow students to take snapshots of
their Containers using only one line of code, without
instance variables and parameters to constructors.
- snapshot(Container, Color).
Method in class jdsltools.visualization.VisualizationController
-
- snapshot(Position, Color).
Static method in class jdsltools.visualization.VisualizationController
-
These static methods allow students to take snapshots of
their Containers using only one line of code, without
instance variables and parameters to constructors.
- snapshot(Position, Position, Color).
Static method in class jdsltools.visualization.VisualizationController
-
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayBubbleSort
-
Perform a bubble-sort, assuming atRank(i) is O(1) -- i.e.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayInsertionSort
-
Perform insertion-sort, assuming the Sequence is based
on a vector (O(1) atRank).
The sort proceeds by looking at each element in turn,
and moving them down to where they belong in the sorted
part of the sequence (the beginning).
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayMergeSort
-
Performs a merge-sort, assuming the Sequence is vector-based.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayQuickSort
-
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArraySelectionSort
-
Perform selection-sort, assuming the Sequence is based on
a vector.
The sort proceeds by finding the minimum of what's left, and
inserting it at the end of the sorted part of the sequence.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListBubbleSort
-
Perform a bubble-sort, assuming the sequence is based on a
doubly-linked list.
First inserts a sentinel to avoid needing to check if we're
swapping with the outer loop locator.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListInsertionSort
-
Perform insertion-sort, assuming the Sequence is based
on a doubly-linked list.
The sort proceeds by looking at each element in S, removing
it, and inserting it in its place in a sorted sequence on
the side.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListMergeSort
-
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListQuickSort
-
Does quicksort on a linked-list.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListSelectionSortInPlace
-
Perform selection-sort, assuming the Sequence is
a doubly-linked list.
This sort is an analogue of the array-based selection-sort.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListSelectionSortWithTemp
-
Perform selection-sort, assuming the Sequence is
a double-linked list.
This implementation repeatedly removes the minimum element
from S and inserts it at the end of a temporary sequence,
which is somewhat more elegant than the array-based version.
- sort(Sequence, Comparator).
Method in interface jdsl.core.algo.sorts.SortObject
-
- sp_.
Variable in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
- spaint(Graphics).
Method in class jdsltools.visualization.GenericShape
-
Draws the shape, the bases, and the ball at the last base (if any)
- spaint(Graphics).
Method in class jdsltools.visualization.ContainerVisualizers.HeapVisualizer
-
- spaint(Graphics).
Method in class jdsltools.visualization.ContainerVisualizers.RedBlackVisualizer
-
- spaint(Graphics).
Method in class jdsltools.visualization.ContainerVisualizers.SequenceVisualizer
-
- spaint(Graphics).
Method in class jdsltools.visualization.ContainerVisualizers.TreeVisualizer
-
- splice(Position, CircularSequence, Position).
Method in class jdsl.core.ref.CircularNodeSequence
-
Merges in another
CircularNodeSequence
after a given
position.
- splice(Position, CircularSequence, Position).
Method in interface jdsl.core.api.CircularSequence
-
Merges in another
CircularSequence
after a given position.
- splice(Position, CircularSequence, Position).
Method in class jdsl.core.ref.VCSVectorCircularSequence
-
Merges in another
CircularNodeSequence
after a given
position.
- split(Position, Position).
Method in class jdsl.core.ref.CircularNodeSequence
-
Snips out a chain of nodes from this
CircularSequence,
repairs this CircularSequence,
and makes a new
CircularSequence
with the snipped-out nodes.
- split(Position, Position).
Method in interface jdsl.core.api.CircularSequence
-
Snips out a chain of nodes from this
CircularSequence,
repairs this CircularSequence,
and makes a new
CircularSequence
with the snipped-out nodes.
- split(Position, Position).
Method in class jdsl.core.ref.VCSVectorCircularSequence
-
Snips out a chain of nodes from this
CircularSequence,
repairs this CircularSequence,
and makes a new
CircularSequence
with the snipped-out nodes.
- squareDistance(Point, Point).
Method in class jdsltools.visualization.GenericShape
-
Computes the distance between two points, needed by 'closestBase'.
- StackComparator().
Constructor for class jdsltools.testers.stackTester.StackComparator
-
- StackEmptyException(String).
Constructor for class jdsl.simple.api.StackEmptyException
-
- StackFactory(String).
Constructor for class jdsltools.testers.stackTester.StackFactory
-
- StackFullException(String).
Constructor for class jdsl.simple.ref.StackFullException
-
- StackTest(Factory, StructureComparator).
Constructor for class jdsltools.testers.stackTester.StackTest
-
- StandardOutNewContainerDisplay().
Constructor for class jdsltools.visualization.StandardOutNewContainerDisplay
-
- START.
Static variable in class jdsltools.testers.circularseqtester.CircularSeqFactory
-
- start().
Method in class jdsltools.visualization.applet
-
- startingPosition().
Method in class jdsl.core.ref.CircularNodeSequence
- Returns an arbitrary starting
Position
in this
CircularSequence
.
- startingPosition().
Method in interface jdsl.core.api.CircularSequence
-
Since there's no
first()
or last()
in a circular
sequence, a method is needed that will give a position -- any position --
in the circular sequence, to get things started.
- startingPosition().
Method in class jdsl.core.ref.VCSVectorCircularSequence
- Returns an arbitrary starting
Position
in this
CircularSequence
.
- startTests(String).
Method in class jdsltools.testers.GenericTester
- Declares a set of tests.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.BiconnectivityAnalyzer
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.DFS
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.FindAllVerticesDFS
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.FindCycleDFS
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.FindPathDFS
- Called when a vertex is visited.
- stop().
Method in class jdsltools.visualization.applet
-
- StringComparator().
Constructor for class jdsl.core.ref.StringComparator
-
- StringFormatException().
Constructor for class jdsltools.testers.StringFormatException
- Class Constructor.
- StringFormatException(String).
Constructor for class jdsltools.testers.StringFormatException
- Class Constructor
- structName(int).
Method in class jdsltools.testers.GenericTester
- This method returns the string name of a structure indicated by the
given index.
- structure().
Method in class jdsltools.testers.TestStructure
- An accessor for the test structure.
- swap(Position, Position).
Method in class jdsl.core.ref.AMSGraphTree
-
- swap(Position, Position).
Method in class jdsltools.examples.ArraySequence
-
Swaps the elements associated with the two Positions,
leaving the Positions themselves "where" they were.
- swap(Position, Position).
Method in class jdsl.core.algo.graphtraversals.BCTree
-
- swap(Position, Position).
Method in class jdsl.core.ref.BTNodeBinaryTree
-
Swaps the elements associated with the two
Positions
,
leaving the Positions
themselves "where" they were.
- swap(Position, Position).
Method in class jdsl.core.ref.CircularNodeSequence
- Swaps the elements at two specified positions.
- swap(Position, Position).
Method in class jdsl.core.ref.DumbEnumerationNodeSequence
- Swap elements of two positions
- swap(Position, Position).
Method in class jdsl.core.ref.FastEnumerationNodeSequence
- Swap elements of two positions
- swap(Position, Position).
Method in class jdsl.core.ref.FastSILGraph
-
- swap(Position, Position).
Method in class jdsl.core.ref.LinkedBinaryTree
-
- swap(Position, Position).
Method in class jdsl.core.ref.NodeSequence
- Swap elements of two positions
- swap(Position, Position).
Method in interface jdsl.core.api.PositionalContainer
- Swaps the elements at two specified positions.
- swap(Position, Position).
Method in class jdsl.core.ref.SILGraph
- Swaps the elements of two positions.
- swap(Position, Position).
Method in class jdsl.simple.ref.SimpleBinarySearchTree
-
- swap(Position, Position).
Method in class jdsl.simple.ref.SimpleRBTree
-
- swap(Position, Position).
Method in class jdsl.core.ref.VCSVectorCircularSequence
- Swaps the elements at two specified positions.
- swap(Position, Position).
Method in class jdsl.core.ref.VectorSequence
-
Swaps the elements associated with the two Positions, leaving the
Positions themselves "where" they were.
- swapColor(Position, Position).
Method in class jdsl.simple.ref.SimpleRBTree
-