S - The type of formulaspublic class DefaultFormulaStream<S extends Formula> extends Object implements FormulaStream<S>
| Constructor and Description |
|---|
DefaultFormulaStream(Collection<S> formulas)
Creates a new default stream with the given formulas that ends after all formulas
have been streamed.
|
DefaultFormulaStream(Collection<S> formulas,
boolean neverending)
Creates a new default stream with the given formulas.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
S |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic DefaultFormulaStream(Collection<S> formulas)
formulas - a collection of formulas.public DefaultFormulaStream(Collection<S> formulas, boolean neverending)
formulas - a collection of formulas.neverending - whether this stream is never-ending (formulas are repeated once through).public boolean hasNext()
public S next()
Copyright © 2018. All rights reserved.