- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for twice (0.13 sec)
-
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/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/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-tests/test/com/google/common/base/JoinerTest.java
Joiner j = Joiner.on("x").skipNulls(); try { j = j.useForNull("y"); fail(); } catch (UnsupportedOperationException expected) { } } public void test_useForNull_twice() { Joiner j = Joiner.on("x").useForNull("y"); try { j = j.useForNull("y"); fail(); } catch (UnsupportedOperationException expected) { } } public void testMap() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
*/ protected long edgeCount() { long degreeSum = 0L; for (N node : nodes()) { degreeSum += degree(node); } // According to the degree sum formula, this is equal to twice the number of edges. checkState((degreeSum & 1) == 0); return degreeSum >>> 1; } /** * An implementation of {@link BaseGraph#edges()} defined in terms of {@link Graph#nodes()} and
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
Joiner j = Joiner.on("x").skipNulls(); try { j = j.useForNull("y"); fail(); } catch (UnsupportedOperationException expected) { } } public void test_useForNull_twice() { Joiner j = Joiner.on("x").useForNull("y"); try { j = j.useForNull("y"); fail(); } catch (UnsupportedOperationException expected) { } } public void testMap() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
* @since 24.0 */ Set<EndpointPair<N>> incidentEdges(N node); /** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 8.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
public static final Integer m10 = -10; /** * Runs Runnable r with a security policy that permits precisely the specified permissions. If * there is no current security manager, the runnable is run twice, both with and without a * security manager. We require that any security manager permit getPolicy/setPolicy. */ public void runWithPermissions(Runnable r, Permission... permissions) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
* @since 24.0 */ @Override Set<EndpointPair<N>> incidentEdges(N node); /** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 15K bytes - Viewed (0)