com.stripe.net.KeyValuePair Maven / Gradle / Ivy
package com.stripe.net;
import java.util.AbstractMap;
/**
* A KeyValuePair holds a key and a value. This class is used to represent parameters when encoding
* API requests.
*
* @param the type of the key
* @param the type of the value
*/
public class KeyValuePair extends AbstractMap.SimpleEntry {
private static final long serialVersionUID = 1L;
/**
* Initializes a new instance of the {@link KeyValuePair} class using the specified key and value.
*
* @param key the key
* @param value the value
*/
public KeyValuePair(K key, V value) {
super(key, value);
}
}