|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.utils.KeyValue<K,V>
public class KeyValue<K,V>
A utility class to store a key / value couple of generic types
| Constructor Summary | |
|---|---|
KeyValue(K key,
V value)
Creates a key / value object |
|
| Method Summary | |
|---|---|
K |
getKey()
|
V |
getValue()
|
void |
setKey(K key)
Sets the key of the couple |
void |
setValue(V value)
Sets the value of the couple |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyValue(K key,
V value)
| Method Detail |
|---|
public K getKey()
public void setKey(K key)
key - the keypublic V getValue()
public void setValue(V value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||