org.apache.tinkerpop.gremlin.process.computer

## Class KeyValue<K,V>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.computer.KeyValue<K,V>

- All Implemented Interfaces:
    Serializable

      public final class KeyValue<K,V>
      extends Object
      implements Serializable

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyValue(K key, V value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `K` | `getKey()`
    `V` | `getValue()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### KeyValue

          public KeyValue(K key,
                          V value)

  - ### Method Detail

    - #### getKey

          public K getKey()

    - #### getValue

          public V getValue()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.