ks.common.message
Class MessageSet

java.lang.Object
  extended byks.common.message.MessageSet

public class MessageSet
extends java.lang.Object

Manages a set of messages.

Unused for now...

Since:
V2.2

Constructor Summary
MessageSet()
          Default MessageSet constructor.
 
Method Summary
 void add(Message m)
          Add a Message.
 java.util.Enumeration elements()
          Enumerate over al lmessage objects.
 boolean equals(java.lang.Object o)
          Determine whether two MessageSets are equal.
 int size()
          Return the number of Message objects in this set.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageSet

public MessageSet()
Default MessageSet constructor.

Method Detail

add

public void add(Message m)
Add a Message.

Parameters:
m - the message to be added to this list.

elements

public java.util.Enumeration elements()
Enumerate over al lmessage objects.

Returns:
Enumeration of Message objects.

equals

public boolean equals(java.lang.Object o)
Determine whether two MessageSets are equal.

Equal is defined as 'all Messages in the MessageSets are equal'.


size

public int size()
Return the number of Message objects in this set.

Returns:
int size of the Message Set