org.egothor.cache.fifo
Class FifoEntry<T>

java.lang.Object
  extended by org.egothor.cache.fifo.FifoEntry<T>
Type Parameters:
T - type of the stored value.

public class FifoEntry<T>
extends java.lang.Object

Represents an entry in a linked list that can store a value.


Field Summary
protected  FifoEntry<T> next
          Entry that is next after this entry in a linked list.
protected  FifoEntry<T> prev
          Entry that precedes this entry in a linked list.
 T value
          Value stored by the entry
 
Constructor Summary
FifoEntry(T value)
          Constructor for the FifoEntry object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prev

protected FifoEntry<T> prev
Entry that precedes this entry in a linked list.


next

protected FifoEntry<T> next
Entry that is next after this entry in a linked list.


value

public T value
Value stored by the entry

Constructor Detail

FifoEntry

public FifoEntry(T value)
Constructor for the FifoEntry object.

Parameters:
value - value stored by the entry