added a couple of extra methods

This commit is contained in:
Noble Paul 2016-05-03 20:34:36 +05:30
parent 0ebe6b0f79
commit 184da9982c
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@ public class Pair<K, V> implements Serializable {
private V value;
public K _1() {
return key;
}
public V _2() {
return value;
}
public V getValue() {
return value;
}