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
- Alphabetic
- By Inheritance
- Pair
- Pair
- Serializable
- Comparable
- Entry
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Pair(left: K, right: V)
- left
left member of the pair
- right
right member of the pair
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def accept[E <: Throwable](arg0: FailableBiConsumer[K, V, E]): Unit
- Definition Classes
- Pair
- Annotations
- @throws(classOf[java.lang.Throwable])
- def apply[V <: AnyRef, E <: Throwable](arg0: FailableBiFunction[K, V, V, E]): V
- Definition Classes
- Pair
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def compareTo(arg0: org.apache.commons.lang3.tuple.Pair[K, V]): Int
- Definition Classes
- Pair → Comparable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- Pair → Entry → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def getKey(): K
- Definition Classes
- Pair → Entry
- def getLeft(): K
- Definition Classes
- Pair → Pair
- def getRight(): V
- Definition Classes
- Pair → Pair
- def getValue(): V
- Definition Classes
- Pair → Entry
- def hashCode(): Int
- Definition Classes
- Pair → Entry → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(arg0: String): String
- Definition Classes
- Pair
- def toString(): String
- Definition Classes
- Pair → AnyRef → Any
- 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.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])