|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectValueBase
public abstract class ValueBase
An abstract class providing much of the code for the Value interface. Extending this abstract base class is a convenient way for an implementation of Value to meet the obligation imposed by that interface.
Constructor Summary | |
---|---|
ValueBase()
|
Method Summary | ||
---|---|---|
|
as(java.lang.Class<T> type)
Retrieves the underlying object represented by this Value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueBase()
Method Detail |
---|
public <T> T as(java.lang.Class<T> type)
Value
as
in interface Value
type
- is what this Value is expected to represent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |