- Author
- mihai Mehedint This class can be used to create doubly linked element objects with next and previous (prev) pointers
Constructs an empty DLelement with next and prev pointers set to null.
Constructs a DLelement labeled "label", holding an object "e", with next and prev pointers set to null.
- Parameters
-
label | the label for this DLelement that shows up on the Bridges visualization |
e | the genereic object that this DLelement is holding |
Constructs an empty DLelement with the next pointer set to the DLelement "next" and the prev pointer set to DLelement "prev".
- Parameters
-
next | the DLelement that should be assigned to the next pointer |
prev | the DLelement that should be assigned to the prev pointer |
Constructs a DLelement holding an object "e", with the next pointer set to the DLelement "next" and the prev pointer set to DLelement "prev".
- Parameters
-
e | the genereic object that this DLelement is holding |
next | the DLelement that should be assigned to the next pointer |
prev | the DLelement that should be assigned to the prev pointer |
This method gets the data structure type
- Returns
- The date structure type as a string
This method returns the pointer to the next DLelement
- Returns
- the DLelement assigned to the next pointer
This method returns the pointer to the previous DLelement
- Returns
- the DLelement assigned to the prev pointer
This method sets the pointer to the next DLelement
- Parameters
-
next | the DLelement that should be assigned to the next pointer |
This method sets the pointer to the previous DLelement
- Parameters
-
prev | the DLelement that should be assigned to the prev pointer |
The documentation for this class was generated from the following file: