@SafeVarargs
    public static short[] removeAll(final short[] a, final short... elements) {
        if (N.isNullOrEmpty(a)) {
            return N.EMPTY_SHORT_ARRAY;
        } else if (N.isNullOrEmpty(elements)) {
            return a.clone();
        } else if (elements.length == 1) {
            return removeAllOccurrences(a, elements[0]);
        }

        final ShortList list = ShortList.of(a.clone());
        list.removeAll(ShortList.of(elements));
        return list.trimToSize().array();
    }
@ SafeVarargs public static short [ ] removeAll ( final short [ ] a , final short ... elements ) { if ( N . isNullOrEmpty ( a ) ) { return N . EMPTY_SHORT_ARRAY ; } else if ( N . isNullOrEmpty ( elements ) ) { return a . clone ( ) ; } else if ( elements . length == 1 ) { return removeAllOccurrences ( a , elements [ 0 ] ) ; } final ShortList list = ShortList . of ( a . clone ( ) ) ; list . removeAll ( ShortList . of ( elements ) ) ; return list . trimToSize ( ) . array ( ) ; }
Returns a new array with removes all the occurrences of specified elements from <code>a</code>

@param a
@param elements
@return
@see Collection#removeAll(Collection)