K
- The generic key's typeV
- The generic value's typepublic class AttributeAccessorImpl<K,V> extends Object implements AttributeAccessor<K,V>
Modifier and Type | Class and Description |
---|---|
class |
AttributeAccessorImpl.AttributeMutatorImpl
Key-to-value mutator needful in some cases.
|
class |
AttributeAccessorImpl.AttributePropertyImpl
Key-to-value property needful in some cases.
|
AttributeAccessor.AttributeMutator<K,V>, AttributeAccessor.AttributeProperty<K,V>
KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K>
ValueAccessor.ValueMutator<V>, ValueAccessor.ValueProperty<V>
Constructor and Description |
---|
AttributeAccessorImpl(K aKey,
V aValue)
Constructs a key-to-value accessor.
|
Modifier and Type | Method and Description |
---|---|
K |
getKey()
Retrieves the key from the key property.
|
V |
getValue()
Retrieves the value from the value property.
|
public K getKey()
getKey
in interface KeyAccessor<K>
public V getValue()
getValue
in interface ValueAccessor<V>
Copyright © 2015. All rights reserved.