com.shabarshin.jemul
Class jeGateAND

java.lang.Object
  |
  +--com.shabarshin.jemul.jeComponent
        |
        +--com.shabarshin.jemul.jeGate
              |
              +--com.shabarshin.jemul.jeGateAND

public class jeGateAND
extends jeGate

Class of AND gate for jEmul.

See Also:
jeGate, jeComponent

Field Summary
 
Fields inherited from class com.shabarshin.jemul.jeComponent
flag_pullup, name, pin, PIN_GND, PIN_INPUT, PIN_NC, PIN_OPEN, PIN_OUTPUT, PIN_UNKNOWN, PIN_VCC, val, VAL_FALSE, VAL_TRUE, VAL_UNKNOWN, VAL_ZSTATE
 
Constructor Summary
jeGateAND(int ni)
           
 
Method Summary
 int step()
          Do step of emulation.
 
Methods inherited from class com.shabarshin.jemul.jeGate
getInputs, getOutputs
 
Methods inherited from class com.shabarshin.jemul.jeComponent
error, getBool, getLogic, getName, getPin, getPins, getVal, isInput, isOutput, pullUp, setBool, setLogic, setPin, setVal, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

jeGateAND

public jeGateAND(int ni)
Method Detail

step

public int step()
Description copied from class: jeComponent
Do step of emulation.

Overrides:
step in class jeGate
Returns:
0 if Ok or Error code