Package io.github.qishr.cascara.common.util
Class Pair
java.lang.Object
io.github.qishr.cascara.common.util.Pair
public class Pair
Constructor Summary
| Constructor | Description |
|---|---|
| Pair(L l, R r) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public L | getL() | |
| public R | getR() | |
| public void | setL(L l) | |
| public void | setR(R r) | |
| public String | toString() | |
| public boolean | equals(Object other) | |
| public int | hashCode() | |
| public static Pair | of(A a, B b) |
Method Details
getL
public L getL()
getR
public R getR()
setL
public void setL(L l)
setR
public void setR(R r)
toString
public String toString()
equals
public boolean equals(Object other)
hashCode
public int hashCode()
of
public static Pair of(A a, B b)