|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.customware.gwt.dispatch.shared.AbstractSimpleResult<T>
T
- The value type.public abstract class AbstractSimpleResult<T>
A common use-case is returning a single value from an action. This provides a simple, type-safe superclass for such results.
Note: Subclasses should provide both an empty constructor for serialization and a constructor with a single value for normal use. It is recommended that the empty constructor is private or package-private.
Constructor Summary | |
---|---|
protected |
AbstractSimpleResult()
|
|
AbstractSimpleResult(T value)
|
Method Summary | |
---|---|
T |
get()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractSimpleResult()
public AbstractSimpleResult(T value)
Method Detail |
---|
public T get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |