Class UnaryGate
java.lang.Object
|
+----Gate
|
+----UnaryGate
- public abstract class UnaryGate
- extends Gate
A gate that has one input.
- See Also:
- Gate
-
UnaryGate()
- Constructor of UnaryGate
create an array of port of one element
-
Output()
- A abstract method that compute the output of a unary gate.
-
SetInput(Port)
- An interface method that set the input of this gate.
UnaryGate
public UnaryGate()
- Constructor of UnaryGate
create an array of port of one element
Output
public abstract boolean Output()
- A abstract method that compute the output of a unary gate.
- Overrides:
- Output in class Gate
- See Also:
- Output
SetInput
public void SetInput(Port g)
- An interface method that set the input of this gate.