public class IntPair extends Object implements Serializable
Pair<Integer, Integer> because it does not do boxing and unboxing. This class implements
equals and hashcode and can be used as keys to maps.| Modifier and Type | Field and Description |
|---|---|
static Comparator<IntPair> |
comparatorFirst |
static Comparator<IntPair> |
comparatorSecond |
| Constructor and Description |
|---|
IntPair(int a,
int b) |
public static Comparator<IntPair> comparatorFirst
public static Comparator<IntPair> comparatorSecond
Copyright © 2017. All rights reserved.