|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.condition.LastInnerOperatorCondition
public class LastInnerOperatorCondition
This condition can be used to define a output condition for the last operator
in a chain (e.g. the last operator of a chain must deliver a performance
vector). This also means that all operators before can handle their
predecessors output. It is therefore not necessary to add a
SimpleChainInnerOperatorCondition additionally to this condition to
the list of conditions.
| Field Summary | |
|---|---|
private java.lang.Class[] |
mustDeliver
The array of classes which must be delivered by the inner chain of operators described by this InnerOpDesc object. |
private java.lang.Class[] |
willGet
|
| Constructor Summary | |
|---|---|
LastInnerOperatorCondition(java.lang.Class[] mustDeliver)
Creates an inner operator condition. |
|
LastInnerOperatorCondition(java.lang.Class[] willGet,
java.lang.Class[] mustDeliver)
Creates an inner operator condition. |
|
| Method Summary | |
|---|---|
java.lang.Class[] |
checkIO(OperatorChain chain,
java.lang.Class[] input)
Checks if the condition is fulfilled in the given operator chain. |
java.lang.String |
toHTML()
Returns a HTML string representation of this condition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.Class[] mustDeliver
private java.lang.Class[] willGet
| Constructor Detail |
|---|
public LastInnerOperatorCondition(java.lang.Class[] mustDeliver)
mustDeliver class array.
public LastInnerOperatorCondition(java.lang.Class[] willGet,
java.lang.Class[] mustDeliver)
willGet. Each operator must be able to handle the output
of the predecessor. The last operator must provide all classes in the
given mustDeliver class array.
| Method Detail |
|---|
public java.lang.Class[] checkIO(OperatorChain chain,
java.lang.Class[] input)
throws IllegalInputException,
WrongNumberOfInnerOperatorsException
InnerOperatorCondition
checkIO in interface InnerOperatorConditionIllegalInputException
WrongNumberOfInnerOperatorsExceptionpublic java.lang.String toHTML()
InnerOperatorCondition
toHTML in interface InnerOperatorCondition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||