@Deprecated
    public static <T, R extends List<T>> R distinct(T[] objectArray, R targetList)
    {
        if (objectArray == null)
        {
            throw new IllegalArgumentException("Cannot perform a distinct on null");
        }
        return InternalArrayIterate.distinct(objectArray, objectArray.length, targetList);
    }
@ Deprecated public static < T , R extends List < T > > R distinct ( T [ ] objectArray , R targetList ) { if ( objectArray == null ) { throw new IllegalArgumentException ( "Cannot perform a distinct on null" ) ; } return InternalArrayIterate . distinct ( objectArray , objectArray . length , targetList ) ; }
@deprecated in 7.0.