org.erights.e.elib.slot
Class SimpleSlot

java.lang.Object
  |
  +--org.erights.e.elib.slot.SimpleSlot
All Implemented Interfaces:
Slot

public class SimpleSlot
extends Object
implements Slot

Untamed: A coercion-free settable Slot.

Author:
Mark S. Miller

Field Summary
private  Object myValue
           
 
Constructor Summary
(package private) SimpleSlot(Object initValue)
           
 
Method Summary
 void __printOn(TextWriter out)
          Enabled:
 Object getValue()
          Enabled: The value last set
 void setValue(Object specimen)
          Enabled: Sets the value to the specimen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myValue

private Object myValue
Constructor Detail

SimpleSlot

SimpleSlot(Object initValue)
Method Detail

getValue

public Object getValue()
Enabled: The value last set

Specified by:
getValue in interface Slot

setValue

public void setValue(Object specimen)
Enabled: Sets the value to the specimen.

Specified by:
setValue in interface Slot

__printOn

public void __printOn(TextWriter out)
               throws IOException
Enabled:

IOException


comments?