Package org.dspace.checker
Class IteratorDispatcher
java.lang.Object
org.dspace.checker.IteratorDispatcher
- All Implemented Interfaces:
BitstreamDispatcher
Really simple dispatcher that just iterates over a pre-defined list of ids.
- Author:
- Jim Downing, Grace Carpenter, Nathan Sarr
-
Field Summary
FieldsFields inherited from interface org.dspace.checker.BitstreamDispatcher
SENTINEL -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
bitstreams
List of Integer ids.
-
-
Constructor Details
-
IteratorDispatcher
Main constructor.- Parameters:
bitstreams- bitstream iterator
-
-
Method Details
-
next
Description copied from interface:BitstreamDispatcherReturns the next id for checking, or a sentinel value if there are no more to check.- Specified by:
nextin interfaceBitstreamDispatcher- Returns:
- the next bitstream id, or BitstreamDispatcher.SENTINEL if there isn't another value
- See Also:
-