Package com.netscape.cmscore.request
Class ListEnumeration
java.lang.Object
com.netscape.cmscore.request.ListEnumeration
- All Implemented Interfaces:
IRequestVirtualList
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the current indexgetElementAt
(int i) Gets the element at the specified indexint
getSize()
Gets the total size of the result set.int
int
-
Field Details
-
logger
public static org.slf4j.Logger logger -
list
-
-
Constructor Details
-
ListEnumeration
-
-
Method Details
-
getElementAt
Description copied from interface:IRequestVirtualList
Gets the element at the specified index- Specified by:
getElementAt
in interfaceIRequestVirtualList
- Parameters:
i
- index of the element- Returns:
- specified request
-
getCurrentIndex
public int getCurrentIndex()Description copied from interface:IRequestVirtualList
Gets the current index- Specified by:
getCurrentIndex
in interfaceIRequestVirtualList
- Returns:
- current index
-
getSize
public int getSize()Description copied from interface:IRequestVirtualList
Gets the total size of the result set. Elements of the list are numbered from 0..(size-1)- Specified by:
getSize
in interfaceIRequestVirtualList
- Returns:
- size of the result set
-
getSizeBeforeJumpTo
public int getSizeBeforeJumpTo() -
getSizeAfterJumpTo
public int getSizeAfterJumpTo()
-