y.base
Class ListCell

java.lang.Object
  |
  +--y.base.ListCell

public class ListCell
extends Object

This Class represents a cell or link of the doubly linked list implementation YList. It may be used to perform fast access and remove operations on that type of list.


Method Summary
 Object getInfo()
          Returns the element residing in this cell.
 ListCell pred()
          Returns the predeccessor cell of this cell.
 void setInfo(Object obj)
          Assigns the given element to this cell.
 ListCell succ()
          Returns the successor cell of this cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

succ

public ListCell succ()
Returns the successor cell of this cell. If there is no successor then null is returned.


pred

public ListCell pred()
Returns the predeccessor cell of this cell. If there is no predecessor then null is returned.


setInfo

public void setInfo(Object obj)
Assigns the given element to this cell.


getInfo

public Object getInfo()
Returns the element residing in this cell.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003