Class Gate
java.lang.Object
|
+----Gate
- public abstract class Gate
- extends Object
- implements Port
A component that has one output.
-
Gate()
-
-
Output()
- An abstract function that return the output.
-
ReadyOutput()
- A public interface to ask if the component was ready to output.
-
SetInput(int, Port)
- Set the input ports of a gate.
Gate
public Gate()
Output
public abstract boolean Output()
- An abstract function that return the output.
- Returns:
- the output.
- See Also:
- Output
ReadyOutput
public boolean ReadyOutput()
- A public interface to ask if the component was ready to output.
- Returns:
- if the gate was ready to output.
- See Also:
- ReadyOutput
SetInput
public void SetInput(int index,
Port p)
- Set the input ports of a gate.
- Parameters:
- index - the index of the input port to set.
- See Also:
- Port