Class BinaryGate
java.lang.Object
|
+----Gate
|
+----BinaryGate
- public abstract class BinaryGate
- extends Gate
A gate that has two inputs.
-
BinaryGate()
-
-
Output()
- A abstract method that compute the output of a binary gate.
-
SetInput1(Port)
- An interface method that set the input 1 of this gate.
-
SetInput2(Port)
- An interface method that set the input 2 of this gate.
BinaryGate
public BinaryGate()
Output
public abstract boolean Output()
- A abstract method that compute the output of a binary gate.
- Overrides:
- Output in class Gate
- See Also:
- Output
SetInput1
public void SetInput1(Port g)
- An interface method that set the input 1 of this gate.
SetInput2
public void SetInput2(Port g)
- An interface method that set the input 2 of this gate.