Packages

final class Pair[K, V] extends org.apache.commons.lang3.tuple.Pair[K, V]

Immutable implementation of org.apache.commons.lang3.tuple.Pair.

K

type of the left member of the pair

V

type of the right member of the pair

Linear Supertypes
org.apache.commons.lang3.tuple.Pair[K, V], Serializable, Comparable[org.apache.commons.lang3.tuple.Pair[K, V]], Entry[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pair
  2. Pair
  3. Serializable
  4. Comparable
  5. Entry
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pair(left: K, right: V)

    left

    left member of the pair

    right

    right member of the pair

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def compareTo(arg0: org.apache.commons.lang3.tuple.Pair[K, V]): Int
    Definition Classes
    Pair → Comparable
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    Pair → Entry → AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def getKey(): K
    Definition Classes
    Pair → Entry
  12. def getLeft(): K
    Definition Classes
    Pair → Pair
  13. def getRight(): V
    Definition Classes
    Pair → Pair
  14. def getValue(): V
    Definition Classes
    Pair → Entry
  15. def hashCode(): Int
    Definition Classes
    Pair → Entry → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def setValue(value: V): V
    Definition Classes
    Pair → Entry
    Annotations
    @Deprecated
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(arg0: String): String
    Definition Classes
    Pair
  23. def toString(): String
    Definition Classes
    Pair → AnyRef → Any
  24. def toTuple: (K, V)

    Converts this pair to a scala scala.Tuple2.

    Converts this pair to a scala scala.Tuple2.

    returns

    this as a scala scala.Tuple2

    Note

    This is a convenient method to ease interoperability with Spark pairs.

  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from org.apache.commons.lang3.tuple.Pair[K, V]

Inherited from Serializable

Inherited from Comparable[org.apache.commons.lang3.tuple.Pair[K, V]]

Inherited from Entry[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped