Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,182 for REMOVE (0.04 sec)

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

                        for (int i = 0; i < 100; i++) {
                          set.add("extra" + i);
                        }
                        for (int i = 0; i < 100; i++) {
                          set.remove("extra" + i);
                        }
                        set.trimToSize();
                        return set;
                      }
                    })
                .named("CompactHashSet#TrimToSize")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEquals_differentElements() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.remove(e0());
        other.add(e3());
        assertFalse("multiset equals a multiset with different elements", getMultiset().equals(other));
      }
    
      @CollectionSize.Require(ZERO)
      public void testHashCode_size0() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

            sitemapsLocal.set(sitemaps);
        }
    
        public String[] removeSitemaps() {
            final String[] sitemaps = sitemapsLocal.get();
            if (sitemaps != null) {
                sitemapsLocal.remove();
            }
            return sitemaps;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. tests/test_dependency_duplicates.py

                        "loc": ["body", "item2"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "item2"],
                        "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

    import java.lang.reflect.Method;
    import java.util.Iterator;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Tester to make sure the {@code iterator().remove()} implementation of {@code Multiset} works when
     * there are multiple occurrences of elements.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 4));
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 1));
        assertThat(multimap.keySet()).contains("cow");
        multimap.put("bar", 9);
        assertThat(multimap.keySet()).containsExactly("cow", "bar").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         * instance construction.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        // TODO This is too early for build extensions, so maybe just remove it?
        public void afterSessionStart(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(mapCache.put(fooReference1, "bar")).isNull();
        assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached
        assertThat(mapCache.remove(fooReference2)).isEqualTo("bar");
        assertThat(mapCache.get(fooReference1)).isNull();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/UndirectedGraphConnections.java

      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      @CheckForNull
      public V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    
      @Override
      public void addPredecessor(N node, V value) {
        @SuppressWarnings("unused")
        V unused = addSuccessor(node, value);
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                            });
                            configProps.putAll(props);
                        }
                    } while (location != null);
                }
            }
            configProps.remove(INCLUDES_PROPERTY);
        }
    
        private static void trimValues(MavenProperties configProps) {
            configProps.replaceAll((k, v) -> v.trim());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top