6162636465666768697071
*/ private EventMonoFlop(){ } public Event getOnEvent() { return new Event() { @Override public void notifyElement(ProcessElement processElement) { double d=0.0; synchronized(EventMonoFlop.this){ if(lastSwitchOffEvent!=null)
8586878889909192939495
} }; } public Event getOffEvent() { return new Event() { @Override public void notifyElement(ProcessElement processElement) { synchronized(EventMonoFlop.this){ // processElement is always the monoflop here EventMonoFlop.this.setOff();
4243444546474849505152
EventFlipFlop(boolean s) { } public Event getOnEvent() { return new Event() { @Override public void notifyElement(ProcessElement processElement) { // processElement is always the flipflop here EventFlipFlop.this.setOn(); }
5253545556575859606162
} }; } public Event getOffEvent() { return new Event() { @Override public void notifyElement(ProcessElement processElement) { // processElement is always the flipflop here EventFlipFlop.this.setOff(); }