Package com.atlan.net

Class KeyValuePair<K,V>

java.lang.Object
java.util.AbstractMap.SimpleEntry<K,V>
com.atlan.net.KeyValuePair<K,V>
Type Parameters:
K - the type of the key
V - the type of the value
All Implemented Interfaces:
Serializable, Map.Entry<K,V>

public class KeyValuePair<K,V> extends 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:
  • Constructor Details

    • KeyValuePair

      public KeyValuePair(K key, V value)
      Initializes a new instance of the KeyValuePair class using the specified key and value.
      Parameters:
      key - the key
      value - the value