org.kalmeo.util
Interface LinkedListItem


public interface LinkedListItem

Author:
bbeaulant

Method Summary
 int compareTo(LinkedListItem item, int flag)
          Compares this LinkedListItem with the specified item for order.
 LinkedListItem getNext()
           
 LinkedListItem getPrevious()
           
 void setNext(LinkedListItem next)
           
 void setPrevious(LinkedListItem previous)
           
 

Method Detail

getNext

LinkedListItem getNext()
Returns:
The next LinkedListItem

setNext

void setNext(LinkedListItem next)
Parameters:
next -

getPrevious

LinkedListItem getPrevious()
Returns:
The previous LinkedListItem

setPrevious

void setPrevious(LinkedListItem previous)
Parameters:
previous -

compareTo

int compareTo(LinkedListItem item,
              int flag)
Compares this LinkedListItem with the specified item for order.

Parameters:
item - the LinkedListItem to be compared.
flag - the flag witch is transmit from the LinkedList sort method
Returns:
a negative integer, zero, or a positive integer as this item is less than, equal to, or greater than the specified item.


Copyright © 2007-2008 Kalmeo. All Rights Reserved.