public static List<Integer> toIntList(@Nullable int[] arr,IgnitePredicate<Integer>... p){
  if (arr == null || arr.length == 0)   return Collections.emptyList();
  List<Integer> ret=new ArrayList<>(arr.length);
  if (F.isEmpty(p))   for (  int i : arr)   ret.add(i);
 else {
    for (    int i : arr)     if (F.isAll(i,p))     ret.add(i);
  }
  return ret;
}

public static List < Integer > toIntList ( @ Nullable int [ ] arr , IgnitePredicate < Integer > ... p ) { if ( arr == null || arr . length == 0 ) return Collections . emptyList ( ) ; List < Integer > ret = new ArrayList < > ( arr . length ) ; if ( F . isEmpty ( p ) ) for ( int i : arr ) ret . add ( i ) ; else { for ( int i : arr ) if ( F . isAll ( i , p ) ) ret . add ( i ) ; } return ret ; }
converts array of integers into list .
