org.objectweb.dream.queue
Interface ListAddFirstLast

All Known Implementing Classes:
ListAddRemoveFirstLastFastImpl, ListAddRemoveFirstLastImpl

public interface ListAddFirstLast

This interface defines methods that must be implemented by a list that allows adding messages at the end or beginning of the list.


Field Summary
static String ITF_NAME
          The commonly used name to refer to this interface.
 
Method Summary
 void addFirst(Object o)
          Inserts the given element at the beginning of this list.
 void addLast(Object o)
          Appends the given element to the end of this list.
 

Field Detail

ITF_NAME

public static final String ITF_NAME
The commonly used name to refer to this interface.

See Also:
Constant Field Values
Method Detail

addFirst

public void addFirst(Object o)
Inserts the given element at the beginning of this list.

Parameters:
o - the element to be inserted at the beginning of this list.

addLast

public void addLast(Object o)
Appends the given element to the end of this list.

Parameters:
o - the element to be inserted at the end of this list.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.