Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,111 for removes (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemovePropagatesToMultimap() {
        assertTrue(multimap().entries().remove(mapEntry(k0(), v0())));
        expectMissing(mapEntry(k0(), v0()));
        assertEquals(getNumElements() - 1, multimap().size());
        assertFalse(multimap().containsEntry(k0(), v0()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          checkNonNegative(--selfLoopCount);
        }
        N previousNode = inEdgeMap.remove(edge);
        // We're relying on callers to call this method only with an edge that's in the graph.
        return requireNonNull(previousNode);
      }
    
      @Override
      public N removeOutEdge(E edge) {
        N previousNode = outEdgeMap.remove(edge);
        // We're relying on callers to call this method only with an edge that's in the graph.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocMapTest.java

            docMap.put("key1", "value1");
            docMap.put("key2", "value2");
    
            assertEquals("value1", docMap.remove("key1"));
            assertNull(docMap.get("key1"));
            assertFalse(docMap.containsKey("key1"));
    
            assertNull(docMap.remove("nonexistent"));
    
            assertEquals(1, docMap.size());
            assertTrue(docMap.containsKey("key2"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/EmptyIterator.java

    public class EmptyIterator<T> implements Iterator<T> {
    
        /**
         * Creates an {@link EmptyIterator}.
         */
        public EmptyIterator() {
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
        @Override
        public boolean hasNext() {
            return false;
        }
    
        @Override
        public T next() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements());
            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

              nextEntry = entry.successorInValueSet;
              return result;
            }
    
            @Override
            public void remove() {
              checkForComodification();
              checkState(toRemove != null, "no calls to next() since the last call to remove()");
              ValueSet.this.remove(toRemove.getValue());
              expectedModCount = modCount;
              toRemove = null;
            }
          };
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            String value;
            String[] result;
    
            // Simple quoted value - quotes are removed
            value = "\"simple\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(1, result.length);
            assertEquals("\"simple\"", result[0]);
    
            // Quoted value with comma - quotes are removed
            value = "\"value,with,commas\"";
            result = KuromojiCSVUtil.parse(value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

                        return window < currentWindow - 2; // Keep current and previous window
                    } catch (NumberFormatException e) {
                        return true; // Remove invalid entries
                    }
                }
                return true;
            });
        }
    
        private void addMdcContext(Map<String, Object> context) {
            // Add MDC context efficiently
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    func newBgHealSequence() *healSequence {
    	reqInfo := &logger.ReqInfo{API: "BackgroundHeal"}
    	ctx, cancelCtx := context.WithCancel(logger.SetReqInfo(GlobalContext, reqInfo))
    
    	hs := madmin.HealOpts{
    		// Remove objects that do not have read-quorum
    		Remove: healDeleteDangling,
    	}
    
    	return &healSequence{
    		startTime:   UTCNow(),
    		clientToken: bgHealingUUID,
    		// run-background heal with reserved bucket
    		bucket:   minioReservedBucket,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

       * Thus, calls like asMap().values().remove(someList) are safe because they are comparing a list
       * to a collection of other lists.
       */
      @SuppressWarnings("CollectionUndefinedEquality")
      public void testValuesRemove() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3()));
        assertTrue(multimap().asMap().values().remove(singletonList(v0())));
        assertEquals(2, multimap().size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top