Constructor and Description |
---|
GateThing(java.util.List<Wire> i,
Wire o) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Signal> |
inspect(java.util.List<Signal> s)
A combination of feeding, propagating, and reading.
|
java.lang.String |
inspect(java.lang.String s)
We will return the String of the inputs that we did in previous
method.
|
boolean |
propagate()
This abstract method should be implement by each child class of gate
|
public boolean propagate()
Gate
public java.util.List<Signal> inspect(java.util.List<Signal> s)
Gate
public java.lang.String inspect(java.lang.String s)
Gate