Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for compareFalseFirst (0.26 sec)

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

      public void testCompareFalseFirst() {
        assertThat(ComparisonChain.start().compareFalseFirst(true, true).result()).isEqualTo(0);
        assertThat(ComparisonChain.start().compareFalseFirst(true, false).result()).isGreaterThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      public void testCompareFalseFirst() {
        assertThat(ComparisonChain.start().compareFalseFirst(true, true).result()).isEqualTo(0);
        assertThat(ComparisonChain.start().compareFalseFirst(true, false).result()).isGreaterThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

      /**
       * Discouraged synonym for {@link #compareFalseFirst}.
       *
       * @deprecated Use {@link #compareFalseFirst}; or, if the parameters passed are being either
       *     negated or reversed, undo the negation or reversal and use {@link #compareTrueFirst}.
       * @since 19.0
       */
      @Deprecated
      public final ComparisonChain compare(Boolean left, Boolean right) {
        return compareFalseFirst(left, right);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ComparisonChain.java

      /**
       * Discouraged synonym for {@link #compareFalseFirst}.
       *
       * @deprecated Use {@link #compareFalseFirst}; or, if the parameters passed are being either
       *     negated or reversed, undo the negation or reversal and use {@link #compareTrueFirst}.
       * @since 19.0
       */
      @Deprecated
      public final ComparisonChain compare(Boolean left, Boolean right) {
        return compareFalseFirst(left, right);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
Back to top