- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,387 for Subject (2.94 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
public void testReuseBuilderReducingHashTableSizeWithPowerOfTwoTotalElements() { ImmutableSet.Builder<Object> builder = ImmutableSet.builderWithExpectedSize(6); builder.add(0); ImmutableSet<Object> unused = builder.build(); ImmutableSet<Object> subject = builder.add(1).add(2).add(3).build(); assertFalse(subject.contains(4)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
this.forceCopy = true; return result; } } int unsafeCompare(Object a, @CheckForNull Object b) { return unsafeCompare(comparator, a, b); } static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) { // Pretend the comparator can compare anything. If it turns out it can't
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* (unless the executor has been shutdown). * * <p>The returned executor is backed by the executor returned by {@link * MoreExecutors#newDirectExecutorService} and subject to the same constraints. * * <p>Although all tasks are immediately executed in the thread that submitted the task, this * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 26 22:04:00 GMT 2023 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
initCollectionWithNullElement(); expectReturnsTrue(disjoint); expectContents(); } // retainAll(null) /* * AbstractCollection fails the retainAll(null) test when the subject * collection is empty, but we'd still like to test retainAll(null) when we * can. We split the test into empty and non-empty cases. This allows us to * suppress only the former. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import org.checkerframework.checker.nullness.qual.Nullable; /** * The subject-generator interface accepted by Collection testers, for testing a Collection at one * particular {@link CollectionSize}. * * <p>This interface should not be implemented outside this package; {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
} catch (UnsupportedOperationException expected) { } expectUnchanged(); assertTrue(collection.contains(e0())); } /* * AbstractCollection fails the removeAll(null) test when the subject * collection is empty, but we'd still like to test removeAll(null) when we * can. We split the test into empty and non-empty cases. This allows us to * suppress only the former. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/annotations/Beta.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Signifies that a public API (public class, method or field) is subject to incompatible changes, * or even removal, in a future release. An API bearing this annotation is exempt from any * compatibility guarantees made by its containing library. Note that the presence of this
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
ImmutableList.asImmutableList(elements, n), comparator); } } } int unsafeCompare(Object a, @CheckForNull Object b) { return unsafeCompare(comparator, a, b); } static int unsafeCompare(Comparator<?> comparator, Object a, @CheckForNull Object b) { // Pretend the comparator can compare anything. If it turns out it can't
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* @return the contents of the container under test, for use by {@link #expectContents(Object[]) * expectContents(E...)} and its friends. */ protected abstract Collection<E> actualContents(); /** * Replaces the existing container under test with a new container created by the subject * generator. * * @see #resetContainer(Object) resetContainer(C) * @return the new container instance. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
initCollectionWithNullElement(); expectReturnsTrue(disjoint); expectContents(); } // retainAll(null) /* * AbstractCollection fails the retainAll(null) test when the subject * collection is empty, but we'd still like to test retainAll(null) when we * can. We split the test into empty and non-empty cases. This allows us to * suppress only the former. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0)