Search this API

y.util
Class SkipList.Cell

java.lang.Object
  extended by y.util.SkipList.Cell
Enclosing class:
SkipList

public static class SkipList.Cell
extends java.lang.Object

The cells that are used by SkipList.

 

Constructor Summary
SkipList.Cell()
           
 
Method Summary
 java.lang.Object getInfo()
          Gets the value of this cell.
 SkipList.Cell pred()
          Yields the predecessor of this cell or null if it is the first cell.
 SkipList.Cell succ()
          Yields the successor of this cell or null if it is the last cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkipList.Cell

public SkipList.Cell()
Method Detail

succ

public SkipList.Cell succ()
Yields the successor of this cell or null if it is the last cell.

Returns:
The successor or null.

pred

public SkipList.Cell pred()
Yields the predecessor of this cell or null if it is the first cell.

Returns:
The predecessor or null.

getInfo

public java.lang.Object getInfo()
Gets the value of this cell.

Returns:
The value that this cell represents.

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