All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class simula.simset.Linkage

java.lang.Object
   |
   +----simula.simset.Linkage

public abstract class Linkage
extends Object
The Linkage class is the abstract parent of any element of a double-linked list. It doesn't implement any content.

See Also:
Head, Link

Variable Index

 o pred
Predecessor in the list.
 o suc
Successor in the list.

Constructor Index

 o Linkage()
Initialize this element with neither previous nor next element.

Method Index

 o pred()
Returns the predecessor in the list.
 o pred(Linkage)
Sets the predecessor.
 o suc()
Returns the successor in the list.
 o suc(Linkage)
Sets the successor.

Variables

 o pred
 protected Linkage pred
Predecessor in the list.

 o suc
 protected Linkage suc
Successor in the list.

Constructors

 o Linkage
 public Linkage()
Initialize this element with neither previous nor next element.

Methods

 o pred
 public Linkage pred()
Returns the predecessor in the list. Null if absent.

Returns:
the predecessor in the list. Null if absent.
 o pred
 protected void pred(Linkage _elem)
Sets the predecessor.

Parameters:
_elem - new predecessor to be set.
 o suc
 public Linkage suc()
Returns the successor in the list. Null if absent.

Returns:
the successor in the list. Null if absent.
 o suc
 protected void suc(Linkage _elem)
Sets the successor.

Parameters:
_elem - new successor to be set.

All Packages  Class Hierarchy  This Package  Previous  Next  Index