Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,269 for value0 (0.08 seconds)

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

      }
    
      /**
       * Returns a map with the contents of this {@code FluentIterable} as its {@code values}, indexed
       * by keys derived from those values. In other words, each input value produces an entry in the
       * map whose key is the result of applying {@code keyFunction} to that value. These entries appear
       * in the same order as they appeared in this fluent iterable. Example usage:
       *
       * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns a map with the contents of this {@code FluentIterable} as its {@code values}, indexed
       * by keys derived from those values. In other words, each input value produces an entry in the
       * map whose key is the result of applying {@code keyFunction} to that value. These entries appear
       * in the same order as they appeared in this fluent iterable. Example usage:
       *
       * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/StatsTesting.java

       * change the true min and max.
       */
      static class ManyValues {
    
        private final ImmutableList<Double> values;
    
        ManyValues(double[] values) {
          this.values = ImmutableList.copyOf(Doubles.asList(values));
        }
    
        ImmutableList<Double> asIterable() {
          return values;
        }
    
        double[] asArray() {
          return Doubles.toArray(values);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

        }
    
        @Override
        public V get(final Object key) {
            return super.get(convertKey(key));
        }
    
        @Override
        public final V put(final String key, final V value) {
            return super.put(convertKey(key), value);
        }
    
        @Override
        public void putAll(final Map<? extends String, ? extends V> map) {
            for (final Map.Entry<? extends String, ? extends V> entry : map.entrySet()) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

        /**
         * Returns true if this reference contains an active value, meaning one that is still considered
         * present in the cache. Active values consist of live values, which are returned by cache
         * lookups, and dead values, which have been evicted but awaiting removal. Non-active values
         * consist strictly of loading values, though during refresh a value may be both active and
         * loading.
         */
        boolean isActive();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Enums.java

       *
       * @since 12.0
       */
      public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) {
        checkNotNull(enumClass);
        checkNotNull(value);
        return Platform.getEnumIfPresent(enumClass, value);
      }
    
      private static final Map<Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>>
          enumConstantCache = new WeakHashMap<>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 13:41:58 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

          assertThat(mapCache.get(key)).isEqualTo(key + "_value");
        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
        assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached
        assertThat(mapCache.put("key", "new value")).isEqualTo("value");
        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (byte value : VALUES) {
          assertThat(Bytes.hashCode(value)).isEqualTo(Byte.hashCode(value));
        }
      }
    
      public void testContains() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        for (long value : TEST_LONGS) {
          assertWithMessage(UnsignedLongs.toString(value))
              .that(UnsignedLong.fromLongBits(value).longValue())
              .isEqualTo(value);
        }
      }
    
      public void testAsUnsignedBigIntegerValue() {
        for (long value : TEST_LONGS) {
          BigInteger expected =
              (value >= 0)
                  ? BigInteger.valueOf(value)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top