public static <L, R> Pair<L, R> create(L left, R right) {
        return new Pair<>(left, right);
    }
public static < L , R > Pair < L , R > create ( L left , R right ) { return new Pair < > ( left , right ) ; }
Creates a new immutable pair of objects.

@param left  the left element.
@param right the right element.
@param <L>   the type of the left element.
@param <R>   the type of the right element.
@return a new pair.