Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,574 for removeAt (0.27 seconds)

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

        entry.setValue("two"); // changes the iterator's current entry value
        assertThat(map.get(1)).isEqualTo("two");
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

              entry.getHash(),
              entry.getValueReference().get(),
              entry.getValueReference().getWeight(),
              RemovalCause.COLLECTED);
          writeQueue.remove(entry);
          accessQueue.remove(entry);
        }
    
        /** Removes an entry whose key has been garbage collected. */
        @CanIgnoreReturnValue
        boolean reclaimKey(ReferenceEntry<K, V> entry, int hash) {
          lock();
          try {
    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)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            if (!Objects.equals(omittedVersion, keptVersion)) {
                logger.debug(indent + omitted + " (removed - nearer found: " + keptVersion + ")");
            }
        }
    
        @Override
        public void omitForCycle(Artifact omitted) {
            logger.debug(indent + omitted + " (removed - causes a cycle in the graph)");
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        entry.setValue("two"); // changes the iterator's current entry value
        assertThat(map.get(1)).isEqualTo("two");
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            }
        }
    
        /**
         * Stops the poll loop and removes the heartbeat document on shutdown.
         */
        @PreDestroy
        public void destroy() {
            if (pollTask != null) {
                pollTask.cancel();
            }
            try {
                removeHeartbeat();
            } catch (final Exception e) {
                logger.debug("Failed to remove heartbeat on shutdown.", e);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.17.md

    - The CSINodeInfo feature gate is deprecated and will be removed in a future release. The storage.k8s.io/v1beta1 CSINode object is deprecated and will be removed in a future release. ([#83474](https://github.com/kubernetes/kubernetes/pull/83474), [@msau42](https://github.com/msau42))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  7. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("file.txt", loc.getName());
                assertEquals("smb://server/share/path/", loc.getParent());
                assertEquals(url, loc.getPath());
                // canonicalisation simply removes '.' and '..'
                assertEquals("smb://server/share/path/filetxt", loc.getCanonicalURL());
                assertFalse(loc.isRoot());
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. internal/event/targetlist.go

    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    	// Stores any error while removing a target or while sending an event.
    	Err error
    }
    
    // Remove - closes and removes targets by given target IDs.
    func (list *TargetList) Remove(targetIDSet TargetIDSet) {
    	list.Lock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
          inverse.delegate.remove(entry.getValue());
          /*
           * Remove the mapping in inverse before removing from esDelegate because
           * if entry is part of esDelegate, entry might be invalidated after the
           * mapping is removed from esDelegate.
           */
          esDelegate.remove(entry);
          return true;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          iterator.next();
          iterator.remove();
          assertEquals(initialSize - 1, map.size());
          // (We can't assert that the values collection no longer contains the
          // removed value, because the underlying map can have multiple mappings
          // to the same value.)
          assertInvariants(map);
          assertThrows(IllegalStateException.class, iterator::remove);
        } else {
          iterator.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
Back to Top