- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for adding (0.17 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> { /* * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we * assume that using setCount() to increase the count is permitted iff add() * is permitted and similarly for decrease/remove(). We assume that a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise * have appeared. The differences include: * * <ul> * <li>There is no need to populate an empty collection before adding an entry with {@link #put * put}. * <li>{@code get} never returns {@code null}, only an empty collection. * <li>A key is contained in the multimap if and only if it maps to at least one value. Any
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
} /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, equalObject1, null)); } /** Test adding null equal object yields error */ public void testAddNullEqualObject() { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java
assertTrue(result.isPartialResults()); assertNull(result.getFacetResponse()); } public void test_builder_withDocuments() { // Test builder with adding documents Map<String, Object> doc1 = new HashMap<>(); doc1.put("id", "1"); doc1.put("title", "Document 1"); Map<String, Object> doc2 = new HashMap<>(); doc2.put("id", "2");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
if (that instanceof Pred) { return this.node.equals(((Pred<?>) that).node); } else { return false; } } @Override public int hashCode() { // Adding the class hashCode to avoid a clash with Succ instances. return Pred.class.hashCode() + node.hashCode(); } } static final class Succ<N> extends NodeConnection<N> { Succ(N node) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> { /* * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we * assume that using setCount() to increase the count is permitted iff add() * is permitted and similarly for decrease/remove(). We assume that a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
* queries before they are parsed by the underlying Lucene query parser. * * <p>The parser supports configuration of default field, analyzer, wildcard settings, * and default operator. It also allows adding custom filters to modify query behavior.</p> * */ public class QueryParser { /** * Default constructor. */ public QueryParser() { // Default constructor }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* {@code asMap} has a few subtleties. As long as the set of keys remains unchanged, adding or * removing mappings does not affect the key iteration order. However, if you remove all values * associated with a key and then add the key back to the multimap, that key will come last in the * key iteration order. * * <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. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// tell when any underlying work it is doing is done. Thus, we might start a new task // while that underlying work is still running. // // So that is why we cancel only in the case of CAS success. taskFuture.cancel(false); } }; // Adding the listener to both futures guarantees that newFuture will always be set. Adding to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
putEdge(1, 2); // Duplicate putEdge(4, 5); } // Element Mutation @Test public void putEdge_existingNodes() { assume().that(graphIsMutable()).isTrue(); // Adding nodes initially for safety (insulating from possible future // modifications to proxy methods) addNode(N1); addNode(N2); assertThat(graphAsMutableGraph.putEdge(N1, N2)).isTrue(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (0)