@@ -20,6 +20,10 @@ public class Pair<K, V> extends CloneSupport<Pair<K, V>> implements Serializable
private final K key;
private final V value;
+ public static <K, V> Pair<K, V> of(K key, V value) {
+ return new Pair<>(key, value);
+ }
+
/**
* 构造
*