@SuppressWarnings("unchecked") @Nullable public static <K,V>CacheEntryPredicate[] readEntryFilterArray(ObjectInput in) throws IOException, ClassNotFoundException {
  int len=in.readInt();
  CacheEntryPredicate[] arr=null;
  if (len > 0) {
    arr=new CacheEntryPredicate[len];
    for (int i=0; i < len; i++)     arr[i]=(CacheEntryPredicate)in.readObject();
  }
  return arr;
}

@ SuppressWarnings ( "unchecked" ) @ Nullable public static < K , V > CacheEntryPredicate [ ] readEntryFilterArray ( ObjectInput in ) throws IOException , ClassNotFoundException { int len = in . readInt ( ) ; CacheEntryPredicate [ ] arr = null ; if ( len > 0 ) { arr = new CacheEntryPredicate [ len ] ; for ( int i = 0 ; i < len ; i ++ ) arr [ i ] = ( CacheEntryPredicate ) in . readObject ( ) ; } return arr ; }
reads array from input stream .
