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

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

There is a newer version: 3.0.0
Show newest version
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.net;

/* Based on original code from https://github.com/stripe/stripe-java (under MIT license) */
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