Class BinaryGate

java.lang.Object
   |
   +----Gate
           |
           +----BinaryGate

public abstract class BinaryGate
extends Gate
A gate that has two inputs.


Constructor Index

 o BinaryGate()

Method Index

 o Output()
A abstract method that compute the output of a binary gate.
 o SetInput1(Port)
An interface method that set the input 1 of this gate.
 o SetInput2(Port)
An interface method that set the input 2 of this gate.

Constructors

 o BinaryGate
 public BinaryGate()

Methods

 o Output
 public abstract boolean Output()
A abstract method that compute the output of a binary gate.

Overrides:
Output in class Gate
See Also:
Output
 o SetInput1
 public void SetInput1(Port g)
An interface method that set the input 1 of this gate.

 o SetInput2
 public void SetInput2(Port g)
An interface method that set the input 2 of this gate.