| EMMA Coverage Report (generated Sun Apr 20 22:38:01 CEST 2008) |
|---|
| [all classes][net.sf.jomic.tools] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| KeyValuePair.java | 100% (1/1) | 100% (4/4) | 82% (31/38) | 92% (7.4/8) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class KeyValuePair | 100% (1/1) | 100% (4/4) | 82% (31/38) | 92% (7.4/8) |
| KeyValuePair (Object, Object): void | 100% (1/1) | 76% (13/17) | 92% (4.6/5) | |
| <static initializer> | 100% (1/1) | 80% (12/15) | 80% (0.8/1) | |
| getKey (): Object | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
| getValue (): Object | 100% (1/1) | 100% (3/3) | 100% (1/1) |
| 1 | package net.sf.jomic.tools; |
| 2 | |
| 3 | /** |
| 4 | * Simple key and value pair. |
| 5 | * |
| 6 | * @author Thomas Aglassinger |
| 7 | */ |
| 8 | public class KeyValuePair |
| 9 | { |
| 10 | private Object key; |
| 11 | private Object value; |
| 12 | |
| 13 | public KeyValuePair(Object newKey, Object newValue) { |
| 14 | super(); |
| 15 | assert newKey != null; |
| 16 | key = newKey; |
| 17 | value = newValue; |
| 18 | } |
| 19 | |
| 20 | public Object getKey() { |
| 21 | return key; |
| 22 | } |
| 23 | |
| 24 | public Object getValue() { |
| 25 | return value; |
| 26 | } |
| 27 | } |
| [all classes][net.sf.jomic.tools] |
| EMMA 2.0.4217 (C) Vladimir Roubtsov |