Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTrueFirstFalseFirst (0.32 sec)

  1. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

       * {@link Comparator} when replacing {@link ComparisonChain#compareTrueFirst} and {@link
       * ComparisonChain#compareFalseFirst}, as we document.
       */
      public void testTrueFirstFalseFirst() {
        Bar trueBar = new Bar(true);
        Bar falseBar = new Bar(false);
    
        assertThat(ComparisonChain.start().compareTrueFirst(trueBar.isBaz(), falseBar.isBaz()).result())
            .isLessThan(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top