- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,122 for Collection (0.23 seconds)
-
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
} @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException { lastMethodCalled = "invokeAll"; assertTaskWrapped(tasks); return inline.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 9.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
import com.google.common.collect.testing.features.Feature; import com.google.common.collect.testing.testers.NavigableSetNavigationTester; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; import junit.framework.TestSuite; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
} /** * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and * {@link #add(Object, int)}. If you override either of these methods, you may wish to override * {@link #addAll(Collection)} to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardAddAll(Collection<? extends E> elementsToAdd) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
* half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator; return new Iterable<T>() { @Override public Iterator<T> iterator() { return collection.iterator(); } }; } public void testEquals() { new EqualsTester()
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
import java.util.concurrent.TimeoutException; import org.jspecify.annotations.NullMarked; /** * Testing utilities relating to garbage collection finalization. * * <p>Use this class to test code triggered by finalization, that is, one of the following * actions taken by the java garbage collection system: * * <ul> * <li>invoking the {@code finalize} methods of unreachable objects
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
return new OpenJdk6SetTests().allTests(); } @Override protected Collection<Method> suppressForTreeSetNatural() { return asList( getAddNullUnsupportedMethod(), getAddAllNullUnsupportedMethod(), getCreateWithNullUnsupportedMethod()); } @Override protected Collection<Method> suppressForCheckedSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", collection.isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", collection.isEmpty()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collection; import java.util.List; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jun 11 16:13:05 GMT 2024 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractTable.java
return AbstractTable.this.size(); } } @LazyInit private transient @Nullable Collection<V> values; @Override public Collection<V> values() { Collection<V> result = values; return (result == null) ? values = createValues() : result; } Collection<V> createValues() { return new Values(); } Iterator<V> valuesIterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
@CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testHashCode_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); int expectedHashCode = 0; for (E element : elements) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertEquals(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 3.1K bytes - Click Count (0)