Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for existent (0.15 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

                        notifications.add(notification);
                      }
                    })
                .build();
        cache.put(1, 2);
    
        // explicitly remove the existing value
        cache.asMap().computeIfPresent(1, (key, value) -> null);
        assertThat(notifications).hasSize(1);
        CacheTesting.checkEmpty(cache);
    
        // ensure no zombie entry remains
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashMultimap.java

    /**
     * Implementation of {@link Multimap} using hash tables.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * {@link Multimap} interface.
       */
      @CanIgnoreReturnValue
      @Override
      SortedSet<V> removeAll(@CheckForNull Object key);
    
      /**
       * Stores a collection of values with the same key, replacing any existing values for that key.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
       * returns a {@link SortedSet}, instead of the {@link java.util.Collection} specified in the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // contract to guarantee ordering among runnables we'd have to modify the logic here to allow
        // it.
        executeListener(runnable, executor);
      }
    
      /**
       * Runs this execution list, executing all existing pairs in the order they were added. However,
       * note that listeners added after this point may be executed before those previously added, and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultimap.java

     * according to the value ordering.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Null keys and values are permitted (provided, of course, that the respective comparators
     * support them). All optional multimap methods are supported, and all returned views are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

            ReferenceEntry<K, V> first = table.get(index);
    
            // Look for an existing entry.
            for (e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                // We found an existing entry.
    
                ValueReference<K, V> valueReference = e.getValueReference();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     * substituted. Also, implementations of {@code hashCode} tend to be poor-quality, in part because
     * they end up depending on <i>other</i> existing poor-quality {@code hashCode} implementations,
     * including those in many JDK classes.
     *
     * <p>{@code Object.hashCode} implementations tend to be very fast, but have weak collision
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will
     * replace an existing pair with the same key and value, if such a pair is present. With collections
     * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs
     * while adding a new pair.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap, even if the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Optional.java

     * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question.
     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
     * from other programming environments, though it may bear some similarities.
     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top