Coalevo Logo

net.coalevo.presence.model
Interface AgentIdentifierList


public interface AgentIdentifierList

Defines a simple list of AgentIdentifier instances.

Version:
1.0.0 (10/02/2009)
Author:
Dieter Wimberger (wimpi)

Method Summary
 boolean add(AgentIdentifier aid)
          Adds an AgentIdentifier instance to this list.
 void clear()
          Removes all list entries.
 boolean contains(AgentIdentifier aid)
          Tests if this list contains a given AgentIdentifier
 boolean isEmpty()
          Tests if this list is empty.
 java.util.Iterator iterator()
          Returns an Iterator over this list.
 boolean remove(AgentIdentifier aid)
          Removes an AgentIdentifier instance from this list.
 

Method Detail

add

boolean add(AgentIdentifier aid)
Adds an AgentIdentifier instance to this list.

Parameters:
aid - an AgentIdentifier instance.
Returns:
true if added, false otherwise.

remove

boolean remove(AgentIdentifier aid)
Removes an AgentIdentifier instance from this list.

Parameters:
aid - an AgentIdentifier instance.
Returns:
true if removed, false otherwise.

clear

void clear()
Removes all list entries.


contains

boolean contains(AgentIdentifier aid)
Tests if this list contains a given AgentIdentifier

Parameters:
aid - an AgentIdentifier instance.
Returns:
true if contained, false otherwise.

iterator

java.util.Iterator iterator()
Returns an Iterator over this list.

Returns:
an Iterator.

isEmpty

boolean isEmpty()
Tests if this list is empty.

Returns:
true if empty, false otherwise.

Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)