Skip to content

Commit b61f400

Browse files
committed
add util class KeyValue
1 parent d678dc0 commit b61f400

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.mcxiaoke.next.http;
2+
3+
import android.util.Pair;
4+
5+
/**
6+
* User: mcxiaoke
7+
* Date: 2017/4/12
8+
* Time: 17:54
9+
*/
10+
11+
public class KeyValue extends Pair<String, String> {
12+
13+
public static KeyValue of(final String key, final String value) {
14+
return new KeyValue(key, value);
15+
}
16+
17+
public KeyValue(final String key, final String value) {
18+
super(key, value);
19+
}
20+
21+
}

0 commit comments

Comments
 (0)