Trull

edu.luc.cs.trull
Class Nil

java.lang.Object
  extended by edu.luc.cs.trull.EmptyComponent
      extended by edu.luc.cs.trull.Nil
All Implemented Interfaces:
Component, PropertyChangeSource, Startable, Suspendable, Terminating, java.beans.PropertyChangeListener, java.util.EventListener

public class Nil
extends EmptyComponent

A basic component does nothing but never terminates. Only one instance of this component is required.


Field Summary
private static Nil INSTANCE
          The instance of this component.
 
Constructor Summary
protected Nil()
          Sole constructor.
 
Method Summary
static Nil getInstance()
          Returns the sole instance of this component.
 
Methods inherited from class edu.luc.cs.trull.EmptyComponent
addPropertyChangeListener, getPropertyChangeListeners, getTerminationListener, propertyChange, removePropertyChangeListener, resume, setTerminationListener, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

private static final Nil INSTANCE
The instance of this component.

Constructor Detail

Nil

protected Nil()
Sole constructor.

Method Detail

getInstance

public static Nil getInstance()
Returns the sole instance of this component.

Returns:
the sole instance of this component.

Trull

http://www.cs.luc.edu/trull/