public class Input extends java.lang.Object implements Connection
Constructor and Description |
---|
Input(int index)
Initialises a new input with the current index.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
java.lang.Object |
getValue()
Compute and return the value of this connection.
|
void |
setValue(java.lang.Object newValue)
Sets this input's value.
|
java.lang.String |
toString() |
public Input(int index)
index
- the index of the new input.public void setValue(java.lang.Object newValue)
getValue()
method.newValue
- the value to set.public int getIndex()
public java.lang.Object getValue()
Connection
getValue
in interface Connection
public java.lang.String toString()
toString
in class java.lang.Object