JBoss Application Server: Build 7.1.2.Final
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
- Value<T>
public final class DefaultValue<T>
extends Object
implements Value<T>
A defaulted value. If the delegate value returns null
, a default value will be returned in its place.
-
-
Constructor Summary
Constructors
Constructor and Description |
DefaultValue(Value<T> value,
Value<? extends T> defaultValue)
Construct a new instance.
|
-
Method Summary
Methods
Modifier and Type |
Method and Description |
T |
getValue()
Get the actual value.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
JBoss Application Server: Build 7.1.2.Final
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.