Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 574 for Absent (0.05 seconds)

  1. 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}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollFirst() {
        assertEquals(a, sortedMultiset.pollFirstEntry());
        assertEquals(asList(b, c), copyToList(sortedMultiset.entrySet()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  3. guava/src/com/google/common/net/MediaType.java

        MediaType mediaType =
            addKnownType(new MediaType(type, subtype, ImmutableListMultimap.<String, String>of()));
        mediaType.parsedCharset = Optional.absent();
        return mediaType;
      }
    
      private static MediaType createConstantUtf8(String type, String subtype) {
        MediaType mediaType = addKnownType(new MediaType(type, subtype, UTF_8_CONSTANT_PARAMETERS));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  4. 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];
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(valueRef);
    
        // absent
        assertThat(segment.removeLoadingValue(key, hash, valueRef)).isFalse();
    
        // live
        table.set(0, entry);
        // don't increment count; this is used during computation
        assertThat(segment.removeLoadingValue(key, hash, valueRef)).isTrue();
        // no notification sent with removeLoadingValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(valueRef);
    
        // absent
        assertThat(segment.removeLoadingValue(key, hash, valueRef)).isFalse();
    
        // live
        table.set(0, entry);
        // don't increment count; this is used during computation
        assertThat(segment.removeLoadingValue(key, hash, valueRef)).isTrue();
        // no notification sent with removeLoadingValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/NetworkBuilder.java

    @Beta
    public final class NetworkBuilder<N, E> extends AbstractGraphBuilder<N> {
      boolean allowsParallelEdges = false;
      ElementOrder<? super E> edgeOrder = ElementOrder.insertion();
      Optional<Integer> expectedEdgeCount = Optional.absent();
    
      /** Creates a new instance with the specified edge directionality. */
      private NetworkBuilder(boolean directed) {
        super(directed);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollFirst() {
        assertEquals(a, sortedMultiset.pollFirstEntry());
        assertEquals(asList(b, c), copyToList(sortedMultiset.entrySet()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/AbstractCache.java

         * found in the cache. This method should be called by the loading thread, as well as by threads
         * blocking on the load. Multiple concurrent calls to {@link Cache} lookup methods with the same
         * key on an absent value should result in a single call to either {@code recordLoadSuccess} or
         * {@code recordLoadException} and multiple calls to this method, despite all being served by
         * the results of a single load operation.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

            missingFeatures.removeAll(features);
            logger.finer(
                Platform.format(
                    "%s: skipping because these features are absent: %s", method, missingFeatures));
          }
          return false;
        }
        if (intersect(features, requirements.getAbsentFeatures())) {
          if (logger.isLoggable(FINER)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
Back to Top