@SafeVarargs
    public static <T> List<T> buildListOfAtLeastTwo(T first, T second, T... more) {
        if (first == null) {
            throw new IllegalArgumentException("First example is null.");
        }
        if (second == null) {
            throw new IllegalArgumentException("Second example is null.");
        }

        List<T> result = new ArrayList<>();
        result.add(first);
        result.add(second);
        addArrayElementsToList(result, more);

        return result;
    }
@ SafeVarargs public static < T > List < T > buildListOfAtLeastTwo ( T first , T second , T ... more ) { if ( first == null ) { throw new IllegalArgumentException ( "First example is null." ) ; } if ( second == null ) { throw new IllegalArgumentException ( "Second example is null." ) ; } List < T > result = new ArrayList < > ( ) ; result . add ( first ) ; result . add ( second ) ; addArrayElementsToList ( result , more ) ; return result ; }
Builds a list with at least two examples.

@param first The first example.
@param second The second example.
@param more Zero or more additional examples.
@param <T> The type of example.
@return A list with at least two examples.