Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 265 for ABSENT (0.08 sec)

  1. android/guava/src/com/google/common/base/Enums.java

          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
       * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing
       * user input or falling back to a default enum constant. For example, {@code
       * Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);}
       *
       * @since 12.0
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        CollectionFeature[] value() default {};
    
        CollectionFeature[] absent() default {};
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/features/calls.md

    provide OkHttp with an HTTP request, you’re describing the request at a high-level: _“fetch me this URL with these headers.”_ For correctness and efficiency, OkHttp rewrites your request before transmitting it.
    
    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present....
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        segment.count++;
        assertThat(segment.get(key, hash)).isSameInstanceAs(value);
        assertThat(segment.containsKey(key, hash)).isTrue();
        assertThat(segment.containsValue(value)).isTrue();
        // don't see absent values now that count > 0
        assertThat(segment.get(new Object(), hash)).isNull();
    
        // null key
        DummyEntry<Object, Object> nullEntry = DummyEntry.create(null, hash, entry);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        segment.count++;
        assertThat(segment.get(key, hash)).isSameInstanceAs(value);
        assertThat(segment.containsKey(key, hash)).isTrue();
        assertThat(segment.containsValue(value)).isTrue();
        // don't see absent values now that count > 0
        assertThat(segment.get(new Object(), hash)).isNull();
    
        // null key
        DummyEntry<Object, Object> nullEntry = DummyEntry.create(null, hash, entry);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        // don't see absent values now that count > 0
        assertThat(segment.get(new Object(), hash)).isNull();
    
        // null key
        InternalEntry<Object, Object, ?> nullEntry = segment.newEntryForTesting(null, hash, entry);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        // don't see absent values now that count > 0
        assertThat(segment.get(new Object(), hash)).isNull();
    
        // null key
        InternalEntry<Object, Object, ?> nullEntry = segment.newEntryForTesting(null, hash, entry);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/BiMap.java

       *     previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code
       *     put}, returns {@code null} both if the key is absent and if it is present with a null
       *     value.)
       */
      @CanIgnoreReturnValue
      @Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value);
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_1x.md

       for an interruption before doing a blocking call. If it is interrupted,
       it throws an `InterruptedIOException`.
    
    ## Version 1.5.2
    
    _2014-03-17_
    
     * Fix bug where deleting a file that was absent from the `HttpResponseCache`
       caused an IOException.
     * Fix bug in HTTP/2 where our HPACK decoder wasn't emitting entries in
       certain eviction scenarios, leading to dropped response headers.
    
    ## Version 1.5.1
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

            array[getNumElements()]);
        // array[getNumElements() + 1] might or might not have been nulled
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testToArray_emptyArrayOfWrongTypeForNonEmptyCollection() {
        assertThrows(
            ArrayStoreException.class,
            () -> {
              WrongType[] array = new WrongType[0];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top