fr.lifl.magique.util
Class MessageList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byfr.lifl.magique.util.MessageList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class MessageList
extends java.util.Vector

a vector of messages...

See Also:
Message, Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MessageList()
           
 
Method Summary
 void addMessage(Message msg)
          add the specified message at the end
 Message firstMessage()
          REMOVE and return first element
 void removeMessage(Message msg)
          remove specified message
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

MessageList

public MessageList()
Method Detail

addMessage

public void addMessage(Message msg)
add the specified message at the end

Parameters:
msg - the message to add

firstMessage

public Message firstMessage()
REMOVE and return first element

Returns:
the first request

removeMessage

public void removeMessage(Message msg)
remove specified message