public boolean isSubset ( IntArray subset ) { int [ ] subData = subset . _data ; for ( int i = subset . _size - 1 ; i >= 0 ; i -- ) { if ( ! contains ( subData [ i ] ) ) return false ; } return true ; }
True if all the integers in subset are contained in the array .