Class UnaryGate

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

public abstract class UnaryGate
extends Gate
A gate that has one input.

See Also:
Gate

Constructor Index

 o UnaryGate()
Constructor of UnaryGate create an array of port of one element

Method Index

 o Output()
A abstract method that compute the output of a unary gate.
 o SetInput(Port)
An interface method that set the input of this gate.

Constructors

 o UnaryGate
 public UnaryGate()
Constructor of UnaryGate create an array of port of one element

Methods

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

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