Interface LongBiPredicate


  • public interface LongBiPredicate
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(long valueToTest, long valueToCompareAgainst)
      Returns true if valueToTest meets the criteria of this predicate when valueToCompareAgainst is considered
    • Method Detail

      • test

        boolean test​(long valueToTest,
                     long valueToCompareAgainst)
        Returns true if valueToTest meets the criteria of this predicate when valueToCompareAgainst is considered

        Example (to compare all the values v in a column such that v is greater than 4, v is the value to test and 4 is the value to compare against

        Parameters:
        valueToTest - the value you're checking. Often this is the value of a cell in an int column
        valueToCompareAgainst - the value to compare against. Often this is a single value for all comparisions