|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.msc.value.MapEntryValue<K,V>
K
- the key typeV
- the value typepublic final class MapEntryValue<K,V>
A value which yields a map entry.
Constructor Summary | |
---|---|
MapEntryValue(MapEntry<Value<K>,Value<V>> entry)
Construct a new instance. |
Method Summary | ||
---|---|---|
MapEntry<K,V> |
getValue()
Get the actual value. |
|
static
|
of(Value<K> key,
Value<V> value)
Construct a new instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapEntryValue(MapEntry<Value<K>,Value<V>> entry)
entry
- the key and value to useMethod Detail |
---|
public MapEntry<K,V> getValue() throws IllegalStateException
getValue
in interface Value<MapEntry<K,V>>
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.public static <K,V> Value<MapEntry<K,V>> of(Value<K> key, Value<V> value)
K
- the key typeV
- the value typekey
- the keyvalue
- the value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |