|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.ValueProvider<T>
T - type of value this provider providespublic class ValueProvider<T>
Provider that always provides the specified value.
| Constructor Summary | |
|---|---|
ValueProvider(T value)
Construct. |
|
| Method Summary | ||
|---|---|---|
T |
get()
Provides an instance of type T |
|
static
|
of(T value)
Creates a provider for the specified value |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueProvider(T value)
value - value to provide| Method Detail |
|---|
public T get()
IProviderT
get in interface IProvider<T>Tpublic static <T> ValueProvider<T> of(T value)
T - type of valuevalue - value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||