- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 74 for do (0.11 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; } @SuppressWarnings("rawtypes") // class literals @Override
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/src/com/google/common/reflect/Types.java
* {@code <A>} using our implementation unless some of its bounds have changed in resolution. This * avoids creating unequal TypeVariable implementation unnecessarily. When the bounds do change, * however, it's fine for the synthetic TypeVariable to be unequal to any native TypeVariable * anyway. */ static final class NativeTypeVariableEquals<X> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} /** * Verifies that a collection is immutable. * * <p>A collection is considered immutable if: * * <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents. * <li>All methods that return objects that can indirectly mutate the collection throw * UnsupportedOperationException when those mutators are called. * </ol>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* number of elements and whose elements may change over time. * * <p>This test might fail in GWT because the GWT emulations might count on the input collection * not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /*
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* number of elements and whose elements may change over time. * * <p>This test might fail in GWT because the GWT emulations might count on the input collection * not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
@CheckForNull private static Object createHashTable( @Nullable Object[] alternatingKeysAndValues, int n, int tableSize, int keyOffset) { if (n == 1) { // for n=1 we don't create a hash table, but we need to do the checkEntryNotNull check! // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[keyOffset]),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 15 22:32:14 GMT 2024 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterable containing two * inner lists of three and two elements, all in the original order. * * <p>Iterators returned by the returned iterable do not support the {@link Iterator#remove()} * method. The returned lists implement {@link RandomAccess}, whether or not the input list does. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* predicate)} and use the copy. * * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at * {@link Predicate#apply}. Do not provide a predicate such as {@code * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link * Iterables#filter(Iterable, Class)} for related functionality.) *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
README.md
users outside your own control), you should not use beta APIs unless you [repackage] them. **If your code is a library, we strongly recommend using the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!** 2. APIs without `@Beta` will remain binary-compatible for the indefinite future. (Previously, we sometimes removed such APIs after a deprecation
Plain Text - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
rootReference.checkAndSet(root, newRoot); return result[0] == oldCount; } @Override public void clear() { if (!range.hasLowerBound() && !range.hasUpperBound()) { // We can do this in O(n) rather than removing one by one, which could force rebalancing. for (AvlNode<E> current = header.succ(); current != header; ) { AvlNode<E> next = current.succ(); current.elemCount = 0;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 34.2K bytes - Viewed (0)