org.jboss.msc.value
Class ImmediateValue<T>
java.lang.Object
org.jboss.msc.value.ImmediateValue<T>
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
- Value<T>
public final class ImmediateValue<T>
- extends Object
- implements Value<T>
A simple immediately-available value.
- Author:
- David M. Lloyd
Method Summary |
T |
getValue()
Get the actual value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmediateValue
public ImmediateValue(T value)
- Construct a new instance.
- Parameters:
value
- the value to return
getValue
public T getValue()
- Get the actual value.
- Specified by:
getValue
in interface Value<T>
- Returns:
- the actual value
Copyright © 2011 JBoss, a division of Red Hat, Inc.