K
- The type of keys maintained by this map.V
- The type of value object of this mirror.R
- The type of reflected value object of this mirror.public static interface MirrorMap.Mirror<K,V,R>
Modifier and Type | Method and Description |
---|---|
V |
reflectionToValue(K key,
R reflection)
Reflects a reflected value object of type
<R> to a value object
of type <V> . |
default MirrorMap.Mirror<K,R,V> |
reverse()
Returns the reverse representation of this
MirrorMap.Mirror , whereby the
value object type <V> and reflected value object of type
<R> are swapped. |
R |
valueToReflection(K key,
V value)
Reflects a value object of type
<V> to a reflected value object
of type <R> . |
R valueToReflection(K key, V value)
<V>
to a reflected value object
of type <R>
.key
- The key.value
- The value object of type <V>
.<R>
.V reflectionToValue(K key, R reflection)
<R>
to a value object
of type <V>
.key
- The key.reflection
- The reflected value object of type <R>
.<V>
.default MirrorMap.Mirror<K,R,V> reverse()
MirrorMap.Mirror
, whereby the
value object type <V>
and reflected value object of type
<R>
are swapped.MirrorMap.Mirror
.Copyright © 2020 LibJ. All rights reserved.