mirror of https://github.com/apache/lucene.git
added a couple of extra methods
This commit is contained in:
parent
0ebe6b0f79
commit
184da9982c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue