src/main/java/org/apache/hadoop/hdfs/server/namenode/AbstractQueryEngine.java
@Override // QueryEngine
  public boolean check(List<Function<Long, Boolean>> comparisons, long value) {
    boolean check = true;
    for (Function<Long, Boolean> comparison : comparisons) {
      boolean compareResult = comparison.apply(value);
      if (!compareResult) {
        check = false;
        break;
      }
    }
    return check;
  }
/**
   * Check the parameter `value` against a series of checks.
   *
   * @param comparisons the Long to Boolean comparison functions
   * @param value the Long value to compare against
   * @return true if checks passed; false otherwise
   */
Check the parameter `value` against a series of checks.
@param comparisons the Long to Boolean comparison functions
@param value the Long value to compare against
@return true if checks passed; false otherwise
Check the parameter ` value ` against a series of checks . @param comparisons the Long to Boolean comparison functions @param value the Long value to compare against @return true if checks passed ; false otherwise
@Override 
  public boolean check(List<Function<Long, Boolean>> comparisons, long value) {
    boolean check = true;
    for (Function<Long, Boolean> comparison : comparisons) {
      boolean compareResult = comparison.apply(value);
      if (!compareResult) {
        check = false;
        break;
      }
    }
    return check;
  }
@ Override public boolean check ( List < Function < Long , Boolean > > comparisons , long value ) { boolean check = true ; for ( Function < Long , Boolean > comparison : comparisons ) { boolean compareResult = comparison . apply ( value ) ; if ( ! compareResult ) { check = false ; break ; } } return check ; }
Check the parameter `value` against a series of checks.
Check the parameter ` value ` against a series of checks .
// QueryEngine