public class CompositeInput extends AbstractInput
Constructor and Description |
---|
CompositeInput(Input... inputs)
Constructor with inputs to combine.
|
CompositeInput(List<? extends Input> inputs)
Constructor with inputs to combine.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreLines()
Returns true if there are more lines to be read.
|
Line |
readLine()
Reads the next line.
|
String |
toString() |
iterator
public CompositeInput(Input... inputs)
inputs
- the inputs to combinepublic CompositeInput(List<? extends Input> inputs)
inputs
- the inputs to combinepublic boolean hasMoreLines()
Input
public Line readLine()
Input
Copyright © 2016. All rights reserved.