Search this API

y.base
Class ListCell

java.lang.Object
  extended by y.base.ListCell

public class ListCell
extends java.lang.Object

Represents a so-called "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
 java.lang.Object getInfo()
          Returns the element stored in this cell.
 ListCell pred()
          Returns the predecessor cell of this cell.
 void setInfo(java.lang.Object obj)
          Sets the element stored in 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 predecessor cell of this cell. If there is no predecessor, then null is returned.


setInfo

public void setInfo(java.lang.Object obj)
Sets the element stored in this cell.


getInfo

public java.lang.Object getInfo()
Returns the element stored in this cell.


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