All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.net.KeyValuePair Maven / Gradle / Ivy

There is a newer version: 28.1.0-beta.3
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy