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

A

AndGate(). Constructor for class AndGate

B

BinaryGate(). Constructor for class BinaryGate

C

Circuit(). Constructor for class Circuit

F

FullAdder(). Constructor for class FullAdder
Constructor of Fulladder.

G

Gate(). Constructor for class Gate
GetOutput(int). Method in class Circuit
get the output port for connection.

M

main(String[]). Static method in class Simulator

N

NotGate(). Constructor for class NotGate

O

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.

P

PortSrc(boolean). Constructor for class PortSrc
initialize value

R

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().

S

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

T

toString(). Method in class FullAdder
return the name of a circuit

U

UnaryGate(). Constructor for class UnaryGate
Constructor of UnaryGate create an array of port of one element

W

Wire(). Constructor for class Wire

X

XorGate(). Constructor for class XorGate