JBoss Modular Service Container 1.2.2.Final
- java.lang.Object
-
- org.jboss.msc.value.DefaultValue<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
- Value<T>
public final class DefaultValue<T>
extends java.lang.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 inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
JBoss Modular Service Container 1.2.2.Final
Copyright © 2012 JBoss, a division of Red Hat, Inc.