Package com.stripe.net
Class KeyValuePair<K,V>
- java.lang.Object
-
- java.util.AbstractMap.SimpleEntry<K,V>
-
- com.stripe.net.KeyValuePair<K,V>
-
- Type Parameters:
K- the type of the keyV- the type of the value
- All Implemented Interfaces:
java.io.Serializable,java.util.Map.Entry<K,V>
public class KeyValuePair<K,V> extends java.util.AbstractMap.SimpleEntry<K,V>A KeyValuePair holds a key and a value. This class is used to represent parameters when encoding API requests.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyValuePair(K key, V value)Initializes a new instance of theKeyValuePairclass using the specified key and value.
-
-
-
Constructor Detail
-
KeyValuePair
public KeyValuePair(K key, V value)
Initializes a new instance of theKeyValuePairclass using the specified key and value.- Parameters:
key- the keyvalue- the value
-
-