Interface Input
- All Known Implementing Classes:
AtomicInput,CycleArray,CycleLogInput,InputInterval
public interface Input
-
Method Summary
Modifier and Type Method Description CycleSegmentgetInputSegment(int segmentLength)Return the next InputSegment available, or null if none were available.default booleanisContiguous()
-
Method Details
-
getInputSegment
Return the next InputSegment available, or null if none were available. This method is required to be thread safe.All implementations of this method are required to be thread-safe.
- Parameters:
segmentLength- The number of cycles (not necessarily contiguous) in the segment.- Returns:
- a segment, or null if none available.
-
isContiguous
default boolean isContiguous()
-