|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.erights.e.elib.slot.SettableSlot
Untamed: A mutable Slot that remembers a current value, and remembers a ValueGuard for coercing new values.
| Field Summary | |
private Object |
myValue
|
private ValueGuard |
myValueGuard
|
| Constructor Summary | |
(package private) |
SettableSlot(ValueGuard valueGuard,
Object specimen,
OneArgFunc optEjector)
MyValueGuard is valueGuard, and my initial value is the specimen coerced by valueGuard. |
| Method Summary | |
void |
__printOn(TextWriter out)
Enabled: |
Object |
getValue()
Enabled: The most recently stored value. |
void |
setValue(Object specimen)
Enabled: Store the coercion of the specimen. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final ValueGuard myValueGuard
private Object myValue
| Constructor Detail |
SettableSlot(ValueGuard valueGuard,
Object specimen,
OneArgFunc optEjector)
| Method Detail |
public Object getValue()
getValue in interface Slotpublic void setValue(Object specimen)
setValue in interface Slot
public void __printOn(TextWriter out)
throws IOException
IOException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||