All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- AndGate().
Constructor for class AndGate
-
- BinaryGate().
Constructor for class BinaryGate
-
- Circuit().
Constructor for class Circuit
-
- FullAdder().
Constructor for class FullAdder
- Constructor of Fulladder.
- Gate().
Constructor for class Gate
-
- GetOutput(int).
Method in class Circuit
- get the output port for connection.
- main(String[]).
Static method in class Simulator
-
- NotGate().
Constructor for class NotGate
-
- OrGate().
Constructor for class OrGate
-
- Output().
Method in class AndGate
- This method return the and result of its two inputs.
- Output().
Method in class BinaryGate
- A abstract method that compute the output of a binary gate.
- Output().
Method in class Gate
- An abstract function that return the output.
- Output().
Method in class NotGate
- This method return the not result of its input.
- Output().
Method in class OrGate
- This method return the or result of its two inputs.
- Output().
Method in interface Port
- A function that return the output.
- Output().
Method in class PortSrc
-
- Output().
Method in class UnaryGate
- A abstract method that compute the output of a unary gate.
- Output().
Method in class Wire
-
- Output().
Method in class XorGate
- This method return the xor result of its two inputs.
- PortSrc(boolean).
Constructor for class PortSrc
- initialize value
- ReadyOutput().
Method in class Gate
- A public interface to ask if the component was ready to output.
- ReadyOutput().
Method in interface Port
- A public interface to ask if the component was ready to output.
- ReadyOutput().
Method in class PortSrc
-
- ReadyOutput().
Method in class Wire
- return true if source != null && source.ReadyOutput().
- SetInput(int, Port).
Method in class Gate
- Set the input ports of a gate.
- SetInput(Port).
Method in class UnaryGate
- An interface method that set the input of this gate.
- SetInput1(Port).
Method in class BinaryGate
- An interface method that set the input 1 of this gate.
- SetInput2(Port).
Method in class BinaryGate
- An interface method that set the input 2 of this gate.
- SetInputs(int, Port).
Method in class Circuit
- set the input ports.
- SetSource(Port).
Method in class Wire
- set the source
- simulate(Circuit).
Static method in class Simulator
-
- Simulator().
Constructor for class Simulator
-
- toString().
Method in class FullAdder
- return the name of a circuit
- UnaryGate().
Constructor for class UnaryGate
- Constructor of UnaryGate
create an array of port of one element
- Wire().
Constructor for class Wire
-
- XorGate().
Constructor for class XorGate
-