Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for isLessThan (0.17 sec)

  1. android/guava/src/com/google/common/collect/Cut.java

    @ElementTypesAreNonnullByDefault
    abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
      final C endpoint;
    
      Cut(C endpoint) {
        this.endpoint = endpoint;
      }
    
      abstract boolean isLessThan(C value);
    
      abstract BoundType typeAsLowerBound();
    
      abstract BoundType typeAsUpperBound();
    
      abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeSet.java

                nextComplementRangeUpperBound = positiveRange.lowerBound;
                if (complementLowerBoundWindow.lowerBound.isLessThan(negativeRange.lowerBound)) {
                  return Maps.immutableEntry(negativeRange.lowerBound, negativeRange);
                }
              } else if (complementLowerBoundWindow.lowerBound.isLessThan(Cut.<C>belowAll())) {
                Range<C> negativeRange = Range.create(Cut.<C>belowAll(), nextComplementRangeUpperBound);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      public void testCompare() {
        // max value
        assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Cut.java

    @ElementTypesAreNonnullByDefault
    abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
      final C endpoint;
    
      Cut(C endpoint) {
        this.endpoint = endpoint;
      }
    
      abstract boolean isLessThan(C value);
    
      abstract BoundType typeAsLowerBound();
    
      abstract BoundType typeAsUpperBound();
    
      abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      public void testCompare() {
        // max value
        assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++]).isEqualTo(expected)
            return this
          }
    
        fun assertLogMatch(regex: Regex) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++])
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import assertk.assertions.isTrue
    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.net.SocketTimeoutException
    import java.util.Random
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.trueFirst().compare(true, false)).isLessThan(0);
        assertThat(Booleans.trueFirst().compare(false, true)).isGreaterThan(0);
      }
    
      public void testFalseFirst() {
        assertThat(Booleans.falseFirst().compare(true, true)).isEqualTo(0);
        assertThat(Booleans.falseFirst().compare(false, false)).isEqualTo(0);
        assertThat(Booleans.falseFirst().compare(false, true)).isLessThan(0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top