Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,015 for volume (0.15 sec)

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

        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsValue(value);
        }
    
        @Override
        public boolean containsEntry(@Nullable Object key, @Nullable Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsEntry(key, value);
        }
    
        @Override
        public Set<V> get(@Nullable K key) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 8.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Cut.java

     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    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/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       * @param unsafeReplacement the default replacement for unsafe characters or null if no default
       *     replacement is required
       */
      protected ArrayBasedUnicodeEscaper(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
        assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE));
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          array = new int[initialCapacity];
        }
    
        /**
         * Appends {@code value} to the end of the values the built {@link ImmutableIntArray} will
         * contain.
         */
        @CanIgnoreReturnValue
        public Builder add(int value) {
          ensureRoomFor(1);
          array[count] = value;
          count += 1;
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                          return new Entry<String, String>() {
    
                            @Override
                            public String setValue(String value) {
                              checkNotNull(value);
                              return next.setValue(value);
                            }
    
                            @Override
                            public String getValue() {
                              return next.getValue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

            result.add(element != null ? element.value : null);
          }
          return unmodifiableList(result);
        }
      }
    
      /** The result of a successful {@code Future}. */
      private static final class Present<V extends @Nullable Object> {
        @ParametricNullness final V value;
    
        Present(@ParametricNullness V value) {
          this.value = value;
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

          assertThat(Shorts.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (short value : VALUES) {
          assertThat(Shorts.saturatedCast((long) value)).isEqualTo(value);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top