public static < O extends Object > void notEmpty ( O [ ] arr ) { if ( ! validation ) return ; notNull ( arr ) ; if ( arr . length == 0 ) throw new ParameterException ( ErrorCode . EMPTY ) ; }
Checks if the given array is empty .