- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for twice (0.15 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
assertFalse( "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0())); } public void testEntrySet_twice() { assertEquals( "calling multiset.entrySet() twice returned unequal sets", getMultiset().entrySet(), getMultiset().entrySet()); } @CollectionSize.Require(ZERO) public void testEntrySet_hashCode_size0() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java
/** * Specify whether to skip the general collection tests. Call this method when testing a * collection that's both a queue and a list, to avoid running the common collection tests twice. * By default, collection tests do run. */ @CanIgnoreReturnValue public QueueTestSuiteBuilder<E> skipCollectionTests() { runCollectionTests = false; return this; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
assertFalse( "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0())); } public void testEntrySet_twice() { assertEquals( "calling multiset.entrySet() twice returned unequal sets", getMultiset().entrySet(), getMultiset().entrySet()); } @CollectionSize.Require(ZERO) public void testEntrySet_hashCode_size0() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* <dt>{@link SetMultimap} * <dd>An extension of {@link Multimap} which has order-independent equality and does not allow * duplicate entries; that is, while a key may appear twice in a {@code SetMultimap}, each * must map to a different value. {@code SetMultimap} takes its name from the fact that the * {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jul 06 16:29:45 GMT 2023 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java
/** * Specify whether to skip the general collection tests. Call this method when testing a * collection that's both a queue and a list, to avoid running the common collection tests twice. * By default, collection tests do run. */ @CanIgnoreReturnValue public QueueTestSuiteBuilder<E> skipCollectionTests() { runCollectionTests = false; return this; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
++classesInitialized; } } private static class C { static { ++classesInitialized; } } public void testInitialize() { assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized); Reflection.initialize(A.class); assertEquals(1, classesInitialized); Reflection.initialize( A.class, // Already initialized (above)
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
++classesInitialized; } } private static class C { static { ++classesInitialized; } } public void testInitialize() { assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized); Reflection.initialize(A.class); assertEquals(1, classesInitialized); Reflection.initialize( A.class, // Already initialized (above)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
} private void memoizeExceptionThrownTest(ThrowingSupplier throwingSupplier) { Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier); // call get() twice to make sure that memoization doesn't interfere // with throwing the exception for (int i = 0; i < 2; i++) { try { memoizedSupplier.get(); fail("failed to throw NullPointerException");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
} private void memoizeExceptionThrownTest(ThrowingSupplier throwingSupplier) { Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier); // call get() twice to make sure that memoization doesn't interfere // with throwing the exception for (int i = 0; i < 2; i++) { try { memoizedSupplier.get(); fail("failed to throw NullPointerException");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EndpointPairIterator.java
if (!advance()) { return endOfData(); } } } } /** * If the graph is undirected, each unordered [node, otherNode] pair (except self-loops) will be * visited twice if there is an edge connecting them. To avoid returning duplicate {@link * EndpointPair}s, we keep track of the nodes that we have visited. When processing endpoint
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Jul 09 17:31:04 GMT 2021 - 5K bytes - Viewed (0)