net.sf.dc.core.objects
Class RequestorCollection

java.lang.Object
  extended bynet.sf.dc.core.objects.RequestorCollection

public class RequestorCollection
extends java.lang.Object

Collection of Requestor Objects

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

Constructor Summary
RequestorCollection()
           
RequestorCollection(Requestor request)
          Initializes this Requestor Collection containing one Requestor
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestorCollection

public RequestorCollection()

RequestorCollection

public RequestorCollection(Requestor request)
Initializes this Requestor Collection containing one Requestor

Parameters:
request - to be added requestor
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


getLength

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