public static int countPart(final long[] srcArr, final int lgArrLongs, final long thetaLong) {
    int cnt = 0;
    final int len = 1 << lgArrLongs;
    for (int i = len; i-- > 0;) {
      final long hash = srcArr[i];
      if (continueCondition(thetaLong, hash) ) {
        continue;
      }
      cnt++ ;
    }
    return cnt;
  }
public static int countPart ( final long [ ] srcArr , final int lgArrLongs , final long thetaLong ) { int cnt = 0 ; final int len = 1 << lgArrLongs ; for ( int i = len ; i -- > 0 ; ) { final long hash = srcArr [ i ] ; if ( continueCondition ( thetaLong , hash ) ) { continue ; } cnt ++ ; } return cnt ; }
Counts the cardinality of the first Log2 values of the given source array.
@param srcArr the given source array
@param lgArrLongs <a href="{@docRoot}/resources/dictionary.html#lgArrLongs">See lgArrLongs</a>
@param thetaLong <a href="{@docRoot}/resources/dictionary.html#thetaLong">See Theta Long</a>
@return the cardinality