Package com.netscape.cmscore.request
Class RequestList
- java.lang.Object
-
- com.netscape.cmscore.request.RequestList
-
- All Implemented Interfaces:
IRequestList
,java.util.Enumeration<RequestId>
public class RequestList extends java.lang.Object implements IRequestList
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Enumeration<RequestId>
mEnumeration
-
Constructor Summary
Constructors Constructor Description RequestList(java.util.Enumeration<RequestId> e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
RequestId
nextElement()
java.lang.Object
nextRequest()
Gets next request from the list.RequestId
nextRequestId()
Gets the next RequestId from this list.IRequest
nextRequestObject()
Gets next request Object from the list.
-
-
-
Field Detail
-
mEnumeration
protected java.util.Enumeration<RequestId> mEnumeration
-
-
Constructor Detail
-
RequestList
public RequestList(java.util.Enumeration<RequestId> e)
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration<RequestId>
-
nextElement
public RequestId nextElement()
- Specified by:
nextElement
in interfacejava.util.Enumeration<RequestId>
-
nextRequestId
public RequestId nextRequestId()
Description copied from interface:IRequestList
Gets the next RequestId from this list. null is returned when there are no more elements in the list.Callers should be sure there is another element in the list by calling hasMoreElements first.
- Specified by:
nextRequestId
in interfaceIRequestList
- Returns:
- next request id
-
nextRequest
public java.lang.Object nextRequest()
Description copied from interface:IRequestList
Gets next request from the list.- Specified by:
nextRequest
in interfaceIRequestList
- Returns:
- next request
-
nextRequestObject
public IRequest nextRequestObject()
Description copied from interface:IRequestList
Gets next request Object from the list.- Specified by:
nextRequestObject
in interfaceIRequestList
- Returns:
- next request
-
-