Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 709 for removed (0.15 sec)

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

        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
        iterator.next();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
        assertEquals(1, bimap.size());
        assertEquals(1, bimap.inverse().size());
      }
    
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 14 14:52:51 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedListMultimap.java

      private transient int size;
    
      /*
       * Tracks modifications to keyToKeyList so that addition or removal of keys invalidates
       * preexisting iterators. This does *not* track simple additions and removals of values
       * that are not the first to be added or last to be removed for their key.
       */
      private transient int modCount;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * creation and removal (including automatic removal of zeroes). If the modification of an
       * AtomicInteger results in zero, we compareAndSet the value to zero; if that succeeds, we remove
       * the entry from the Map. If another operation sees a zero in the map, it knows that the entry is
       * about to be removed, so this operation may remove it (often by replacing it with a new
       * AtomicInteger).
       */
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashFunctionEnum.java

      SIP_HASH24(Hashing.sipHash24()),
      FARMHASH_FINGERPRINT_64(Hashing.farmHashFingerprint64()),
    
      // Hash functions found in //javatests for comparing against current implementation of CityHash.
      // These can probably be removed sooner or later.
      ;
    
      private final HashFunction hashFunction;
    
      private HashFunctionEnum(HashFunction hashFunction) {
        this.hashFunction = hashFunction;
      }
    
      HashFunction getHashFunction() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Network.java

       * this network.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
       * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/BaseGraph.java

       * this graph.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
       * <p>If {@code node} is removed from the graph after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java

    public class SetRemoveTester<E> extends AbstractSetTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        getSet().remove(e0());
        assertFalse(
            "After remove(present) a set should not contain the removed element.",
            getSet().contains(e0()));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs.
          if (property == JAVA_COMPILER) {
            continue;
          }
          // Removed in Java 9:
          // https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B
          if (property == JAVA_EXT_DIRS) {
            continue;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.ENDPOINTS_MISMATCH;
    import static com.google.common.graph.GraphConstants.NODE_PAIR_REMOVED_FROM_GRAPH;
    import static com.google.common.graph.GraphConstants.NODE_REMOVED_FROM_GRAPH;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Sets;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

          K key = keys[entry];
          removeEntryValueHashKnown(entry, valueHash);
          return key;
        }
      }
    
      /** Removes the entry at the specified index with no additional data. */
      void removeEntry(int entry) {
        removeEntryKeyHashKnown(entry, Hashing.smearedHash(keys[entry]));
      }
    
      /** Removes the entry at the specified index, given the hash of its key and value. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
Back to top