|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KeyValueBean<K,V>
A bean with two properties: key and value.
| Method Summary | |
|---|---|
K |
setKey(K key)
Replaces the key corresponding to this bean with the specified key. |
| Methods inherited from interface java.util.Map.Entry |
|---|
equals, getKey, getValue, hashCode, setValue |
| Method Detail |
|---|
K setKey(K key)
key - new key to be stored in this bean
ClassCastException - if the class of the key is not valid for
this bean
NullPointerException - if this bean does not allow null
keys
IllegalArgumentException - if the key is not valid for this bean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||