public static final <F, S> Pair<F, S> create(F first, S second) {
        return new Pair<F, S>(first, second);
    }
public static final < F , S > Pair < F , S > create ( F first , S second ) { return new Pair < F , S > ( first , second ) ; }
Static factory method that, unlike the constructor, performs generic
inference saving some typing. Use in the following way (for a pair of
Strings):

<p>
<code>
Pair<String, String> pair = Pair.create("first", "second");
</code>
</p>

@param <F> The type of the first thing.
@param <S> The type of the second thing
@param first The first thing
@param second The second thing
@return The pair (first,second)