package tk.draganczuk.url; /** * Pair */ public class Pair { private T left; private U right; public Pair(T left, U right) { this.left = left; this.right = right; } public static Pair of(T left, U right){ return new Pair(left, right); } public T getLeft() { return left; } public void setLeft(T left) { this.left = left; } public U getRight() { return right; } public void setRight(U right) { this.right = right; } }