rjw.dc.core.objects
Class RequestorCollection

java.lang.Object
  |
  +--rjw.dc.core.objects.RequestorCollection

public class RequestorCollection
extends java.lang.Object

List of Requestor Objects

Since:
1.3
Version:
DC0.50
Author:
Robert-Jan van der Waals

Constructor Summary
RequestorCollection()
           
 
Method Summary
 void addRequestor(Requestor requestor)
          Adds a requestor to the list
 int getLength()
          Returns the amount of requestors in the collection
 void removeRequestor(Requestor requestor)
          Removes a requestor from the collection
 Requestor[] toRequestorArray()
          Creates a Requestor array from the collection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestorCollection

public RequestorCollection()
Method Detail

addRequestor

public void addRequestor(Requestor requestor)
Adds a requestor to the list

Parameters:
requestor - requestor to be added to the collection

removeRequestor

public void removeRequestor(Requestor requestor)
Removes a requestor from the collection

Parameters:
requestor - requestor to be removed

toRequestorArray

public Requestor[] toRequestorArray()
Creates a Requestor array from the collection

Returns:
(Requestor) requestor array

getLength

public int getLength()
Returns the amount of requestors in the collection

Returns:
(int) collection size