org.jboss.msc.value
Class ListValue<T>
java.lang.Object
org.jboss.msc.value.ListValue<T>
- Type Parameters:
T
- the list entry type
- All Implemented Interfaces:
- Value<List<T>>
public final class ListValue<T>
- extends Object
- implements Value<List<T>>
A list value.
- Author:
- David M. Lloyd
Constructor Summary |
ListValue(List<? extends Value<? extends T>> values)
Construct a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListValue
public ListValue(List<? extends Value<? extends T>> values)
- Construct a new instance.
- Parameters:
values
- the list of values with which to populate the list
getValue
public List<T> getValue()
throws IllegalStateException
- Get the actual value.
- Specified by:
getValue
in interface Value<List<T>>
- Returns:
- the actual value
- Throws:
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.
Copyright © 2011 JBoss, a division of Red Hat, Inc.