org.jboss.msc.value
Class SetValue<T>
java.lang.Object
   org.jboss.msc.value.SetValue<T>
org.jboss.msc.value.SetValue<T>
- Type Parameters:
- T- the set member type
- All Implemented Interfaces: 
- Value<Set<T>>
- public final class SetValue<T> 
- extends Object- implements Value<Set<T>>
 
A set value.
- Author:
- David M. Lloyd
| Constructor Summary | 
| SetValue(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 | 
 
SetValue
public SetValue(List<? extends Value<? extends T>> values)
- Construct a new instance.
 
- Parameters:
- values- the values to add to the set
 
getValue
public Set<T> getValue()
                throws IllegalStateException
- Get the actual value.
 
- 
- Specified by:
- getValuein interface- Value<Set<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.