Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1741 - 1750 of 2,158 for booleans (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/Futures.java

        return new Future<O>() {
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
            return input.cancel(mayInterruptIfRunning);
          }
    
          @Override
          public boolean isCancelled() {
            return input.isCancelled();
          }
    
          @Override
          public boolean isDone() {
            return input.isDone();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

       * between {@code 'a'} and {@code 'z'} inclusive. All others (including non-ASCII characters)
       * return {@code false}.
       */
      public static boolean isLowerCase(char c) {
        // Note: This was benchmarked against the alternate expression "(char)(c - 'a') < 26" (Nov '13)
        // and found to perform at least as well, or better.
        return (c >= 'a') && (c <= 'z');
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Floats.java

        public int size() {
          return end - start;
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Float get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Doubles.java

       *
       * <p><b>Java 8+ users:</b> use {@link Double#isFinite(double)} instead.
       *
       * @since 10.0
       */
      public static boolean isFinite(double value) {
        return NEGATIVE_INFINITY < value && value < POSITIVE_INFINITY;
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}. Note
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Floats.java

        public int size() {
          return end - start;
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Float get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            int.class,
            Integer.class,
            long.class,
            Long.class,
            short.class,
            Short.class,
            byte.class,
            Byte.class,
            boolean.class,
            Boolean.class,
            char.class,
            Character.class,
            int[].class,
            Object[].class,
            UnsignedInteger.class,
            UnsignedLong.class,
            BigInteger.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
            assertEquals(32L, MemoryUtil.sizeOf(new Date()));
            assertEquals(80L, MemoryUtil.sizeOf(LocalDateTime.now()));
            assertEquals(2128L, MemoryUtil.sizeOf(ZonedDateTime.now()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

      }
    
      private static class UnmarkableInputStream extends InputStream {
        @Override
        public int read() throws IOException {
          return 0;
        }
    
        @Override
        public boolean markSupported() {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
      public boolean accept(File dir, String fileName) {
        return pattern.matcher(fileName).matches();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top