Merge origin/master
[habeas.git] / src / habeas / DBItem.java
1 /*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6 package habeas;
7
8 /**
9 *
10 * @author hari
11 */
12 public class DBItem {
13 private final int key;
14 private final String value;
15 public DBItem (int k, String v) {
16 key = k;
17 value = v;
18 }
19
20 /**
21 *
22 * @return
23 */
24 @Override
25 public String toString () {
26 return value;
27 }
28 public int getKey () {
29 return key;
30 }
31 }