|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.util.concurrent.marvin.CompositeInputProducer
public class CompositeInputProducer
Input producer composed of an array of input producers. The provided input is an array of inputs provided by these input producers.
| Field Summary | |
|---|---|
protected InputProducer[] |
inputProducers
The input producer array. |
| Constructor Summary | |
|---|---|
CompositeInputProducer()
Constructor. |
|
CompositeInputProducer(InputProducer[] inputProducers)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getNext()
Returns the next input object array (one input from each input producer). |
boolean |
hasNext()
Returns true if all input producers have next input. |
void |
setInputProducers(InputProducer[] inputProducers)
Sets the input producers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected InputProducer[] inputProducers
| Constructor Detail |
|---|
public CompositeInputProducer()
setInputProducers(chemaxon.util.concurrent.InputProducer[])
public CompositeInputProducer(InputProducer[] inputProducers)
inputProducers - the input producer array| Method Detail |
|---|
public void setInputProducers(InputProducer[] inputProducers)
inputProducers - the input producer array
public boolean hasNext()
throws java.lang.InterruptedException,
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException
true if all input producers have next input.
hasNext in interface chemaxon.util.concurrent.util.ConcurrentIteratortrue if all input producers have next input
java.lang.InterruptedException
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException
public java.lang.Object getNext()
throws java.lang.InterruptedException,
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException
getNext in interface chemaxon.util.concurrent.util.ConcurrentIteratorjava.lang.InterruptedException
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||