A
- B
- public class Pair<A,B>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
A |
getA() |
B |
getB() |
int |
hashCode() |
tsdb.util.ConstValue<A> |
observableA() |
tsdb.util.ConstValue<B> |
observableB() |
static <A,B> Pair<A,B> |
of(A a,
B b) |
static <A,B> A |
projA(Pair<A,B> p) |
static <A,B> B |
projB(Pair<A,B> p) |
java.lang.String |
toString() |
public static <A,B> Pair<A,B> of(A a, B b)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public A getA()
public B getB()
public static <A,B> A projA(Pair<A,B> p)
public static <A,B> B projB(Pair<A,B> p)
public tsdb.util.ConstValue<A> observableA()
public tsdb.util.ConstValue<B> observableB()