- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 168 for Define (0.41 sec)
-
guava-tests/test/com/google/common/graph/TestUtil.java
assertThat(networkA.edgeOrder()).isEqualTo(networkB.edgeOrder()); assertThat(networkA).isEqualTo(networkB); } /** * In some cases our graph implementations return custom sets that define their own size() and * contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue static <T> Set<T> sanityCheckSet(Set<T> set) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TestUtil.java
assertThat(networkA.edgeOrder()).isEqualTo(networkB.edgeOrder()); assertThat(networkA).isEqualTo(networkB); } /** * In some cases our graph implementations return custom sets that define their own size() and * contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue static <T> Set<T> sanityCheckSet(Set<T> set) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
* computeInPlace} instead of {@code compute}. * * <h3>Definition and notes on interpolation</h3> * * <p>The definition of the kth q-quantile of N values is as follows: define x = k * (N - 1) / q; if * x is an integer, the result is the value which would appear at index x in the sorted dataset * (unless there are {@link Double#NaN NaN} values, see below); otherwise, the result is the average
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
* * That combination upsets NullPointerTester, which wants any call that passes null for a * non-@Nullable parameter to trigger a NullPointerException. * * (We still define this empty method to keep PackageSanityTests from generating its own * automated nullness tests, which would fail.) */ } private static final Object IGNORE_ME = new Object() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return delegate.create(elements); } @Override public Entry<K, V>[] createArray(int length) { return delegate.createArray(length); } } /** Two bounds (from and to) define how to build a subMap. */ public enum Bound { INCLUSIVE, EXCLUSIVE, NO_BOUND; } public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// catch absolutely everything and fall through to our 'SafeAtomicHelper' // The access control checks that ARFU does means the caller class has to be AbstractFuture // instead of SafeAtomicHelper, so we annoyingly define these here try { helper = new SafeAtomicHelper( newUpdater(Waiter.class, Thread.class, "thread"), newUpdater(Waiter.class, Waiter.class, "next"),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* that associates each key with a collection of values. All methods of {@link Multimap} are * supported, including those specified as optional in the interface. * * <p>To implement a multimap, a subclass must define the method {@link #createCollection()}, which * creates an empty collection of values for a key. * * <p>The multimap constructor takes a map that has a single entry for each distinct key. When you
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 46.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
* contents to empty. By contrast, the non-GWT constructor with the same signature uses the * comparator only as a comparator. It does NOT assume empty contents. (It requires an * implementation of iterator() to define its contents, and methods like contains() are * implemented in terms of that method (though they will likely be overridden by subclasses for
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
* * That combination upsets NullPointerTester, which wants any call that passes null for a * non-@Nullable parameter to trigger a NullPointerException. * * (We still define this empty method to keep PackageSanityTests from generating its own * automated nullness tests, which would fail.) */ } private static final Object IGNORE_ME = new Object() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return delegate.create(elements); } @Override public Entry<K, V>[] createArray(int length) { return delegate.createArray(length); } } /** Two bounds (from and to) define how to build a subMap. */ public enum Bound { INCLUSIVE, EXCLUSIVE, NO_BOUND; } public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 18.2K bytes - Viewed (0)