Package dev.zemco.codegame.execution.io
Interface IInputSourceFactory
public interface IInputSourceFactory
Produces
input sources.- Author:
- Erik Zemčík
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateInputSourceFromIterable(Iterable<Integer> iterable) Creates aninput sourcethat provides its values from aniterable.
-
Method Details
-
createInputSourceFromIterable
Creates aninput sourcethat provides its values from aniterable.- Parameters:
iterable- iterable to use as source of input values- Returns:
- input source
- Throws:
IllegalArgumentException- ifiterableisnull
-