public class MutablePair<T1,T2>
extends Object
implements scala.Product2<T1,T2>, scala.Product, scala.Serializable
param: _1 Element 1 of this MutablePair param: _2 Element 2 of this MutablePair
| Constructor and Description | 
|---|
MutablePair()
No-arg constructor for serialization 
 | 
MutablePair(T1 _1,
           T2 _2)  | 
| Modifier and Type | Method and Description | 
|---|---|
T1 | 
_1()  | 
T2 | 
_2()  | 
boolean | 
canEqual(Object that)  | 
abstract static boolean | 
equals(Object that)  | 
static int | 
productArity()  | 
static Object | 
productElement(int n)  | 
static scala.collection.Iterator<Object> | 
productIterator()  | 
static String | 
productPrefix()  | 
String | 
toString()  | 
MutablePair<T1,T2> | 
update(T1 n1,
      T2 n2)
Updates this pair with new values and returns itself 
 | 
public abstract static boolean equals(Object that)
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public static int productArity()
public static Object productElement(int n)
                             throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic MutablePair<T1,T2> update(T1 n1, T2 n2)
public String toString()
toString in class Objectpublic boolean canEqual(Object that)
canEqual in interface scala.Equals