public class Pair<E1,E2>
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object other) |
|
E1 |
first() |
|
int |
hashCode() |
|
static <E1,E2> Pair<E1,E2> |
of(E1 first,
E2 second) |
|
E2 |
second() |
public E1 first()
public E2 second()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static <E1,E2> Pair<E1,E2> of(E1 first, E2 second)
Copyright © 2018. All rights reserved