@Immutable public final class Pair<A,B> extends Object implements Serializable
Tuple
boolean
equals(Object o)
A
getA()
B
getB()
getRequiredA()
getRequiredB()
int
hashCode()
static <A,B> Pair<A,B>
of(A a, B b)
ofNonNull(A a, B b)
String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static <A,B> Pair<A,B> of(@Nullable A a, @Nullable B b)
public static <A,B> Pair<A,B> ofNonNull(A a, B b)
@Nullable public A getA()
public A getRequiredA()
@Nullable public B getB()
public B getRequiredB()
public boolean equals(Object o)
equals
Object
public int hashCode()
hashCode
public String toString()
toString
Copyright © 2022. All rights reserved.