Interface JobConstrainerEnablerList
- All Superinterfaces:
AutoCloseable, Closeable, OsidList, OsidList
Like all OsidLists , JobConstrainerEnablerList provides
a means for accessing JobConstrainerEnabler elements sequentially
either one at a time or many at a time. Examples:
while (jcel.hasNext()) {
JobConstrainerEnabler enabler = jcel.getNextJobConstrainerEnabler();
}
or
while (jcel.hasNext()) {
JobConstrainerEnabler[] enablers = jcel.getNextJobConstrainerEnablers(jcel.available());
}
-
Method Summary
Modifier and TypeMethodDescriptionGets the nextJobConstrainerEnablerin this list.getNextJobConstrainerEnablers(long n) Gets the next set ofJobConstrainerEnablerelements in this list.
-
Method Details
-
getNextJobConstrainerEnabler
Gets the nextJobConstrainerEnablerin this list.- Returns:
- the next
JobConstrainerEnablerin this list. ThehasNext()method should be used to test that a nextJobConstrainerEnableris available before calling this method. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextJobConstrainerEnablers
Gets the next set ofJobConstrainerEnablerelements in this list. The specified amount must be less than or equal to the return fromavailable().- Parameters:
n- the number ofJobConstrainerEnablerelements requested which must be less than or equal toavailable()- Returns:
- an array of
JobConstrainerEnablerelements. The length of the array is less than or equal to the number specified. - Throws:
IllegalStateException- no more elements available in this listOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-