Bridges-Java-2.3.3
2.3.3
Bridges(JavaAPI)
|
This class can be used to instantiate Singly Linked Circular List Elements. More...
Additional Inherited Members | |
![]() | |
void | getListElements (Vector< Element< E >> nodes) |
![]() | |
void | setLinkVisualizer (Element< E > el) |
void | removeLinkVisualizer (Element< E > el) |
void | validateVal (E value) |
![]() | |
SLelement< E > | next = null |
![]() | |
String | QUOTE = "\"" |
This class can be used to instantiate Singly Linked Circular List Elements.
Structurally they are the same as singly linked elements except that each node constructed with the next point pointing to itself; User's implementation of the circularly linked list needs to ensure that the last node points to first node of the list, as the visualization generation is dependent on this.
Elements have labels (string) that are displayed on the visualization. Elements take an generic object as a user defined parameter, E, which can be any native type or object.
Elements contains a visualizer (ElementVisualizer) object for setting visual attributes (color, shape, opacity, size), necessary for displaying them in a web browser.
Elements also have a LinkVisualizer object that is used when they are linked to another element, appropriate for setting link attributes, between an element and its next element.
<E> | the generic parameter that is defined by the application |
bridges.base.CircSLelement< E >.CircSLelement | ( | ) |
This constructor creates an CircSLelement object and sets its next pointer to itself
bridges.base.CircSLelement< E >.CircSLelement | ( | String | label, |
E | e | ||
) |
This constructor creates an CircSLelement object of value "e" and label "label" and sets the next pointer to null
label | the label of CircSLelement that shows up on the Bridges visualization |
e | the generic object that this CircSLelement will hold |
bridges.base.CircSLelement< E >.CircSLelement | ( | E | e, |
CircSLelement< E > | next | ||
) |
Creates a new element with value "e" and sets the next pointer to the CircSLelement referenced by the "next" argument
e | the generic object that this CircSLelement will hold |
next | the CircSLelement that should be assigned to the next pointer |
bridges.base.CircSLelement< E >.CircSLelement | ( | CircSLelement< E > | next | ) |
Creates a new element and sets the next pointer to the CircSLelement "next"
next | the CircSLelement that should be assigned to the next pointer |
String bridges.base.CircSLelement< E >.getDataStructType | ( | ) |
This method gets the data structure type
CircSLelement<E> bridges.base.CircSLelement< E >.getNext | ( | ) |
Retrieves the next CircSLelement
String bridges.base.CircSLelement< E >.toString | ( | ) |
(non-Javadoc)