- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 250 for cpovirk (0.24 seconds)
-
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Run collection tests on wrappers from {@link Multimaps}. * * @author Jared Levy */ @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version @NullUnmarked @AndroidIncompatible // test-suite builders public class MultimapsCollectionTest extends TestCase { private static final Feature<?>[] FOR_MAP_FEATURES_ONE = {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
// first range closed end, second range closed start assertEquals(Range.open(2, 4), Range.atMost(2).gap(closedRange)); assertEquals(Range.open(2, 4), closedRange.gap(Range.atMost(2))); } // TODO(cpovirk): More extensive testing of gap(). public void testSpan_general() { Range<Integer> range = Range.closed(4, 8); // separate below assertEquals(Range.closed(0, 8), range.span(Range.closed(0, 2)));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
* row and column iteration ordering of the returned table. * * @throws NullPointerException if {@code table} has a null key */ @SuppressWarnings("unchecked") // TODO(cpovirk): Make constructor accept wildcard types? public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, ? extends @Nullable V> table) { return (table instanceof ArrayTable)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
boolean isNullable(Invokable<?, ?> invokable) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable) || containsNullable(invokable.getAnnotatedReturnType().getAnnotations()); // TODO(cpovirk): Should we also check isNullableTypeVariable? } @Override boolean isNullable(Parameter param) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
} return false; } @Override public int hashCode() { return f.hashCode() ^ p.hashCode(); } @Override public String toString() { // TODO(cpovirk): maybe make this look like the method call does ("Predicates.compose(...)") return p + "(" + f + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function public void testEqualsAndSerializable() throws Exception { new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testEqualsAndSerializable(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* row and column iteration ordering of the returned table. * * @throws NullPointerException if {@code table} has a null key */ @SuppressWarnings("unchecked") // TODO(cpovirk): Make constructor accept wildcard types? public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, ? extends @Nullable V> table) { return (table instanceof ArrayTable)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
FROM_DECLARATION_AND_TYPE_USE_ANNOTATIONS { @Override boolean isNullable(Invokable<?, ?> invokable) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable) ; // TODO(cpovirk): Should we also check isNullableTypeVariable? } @Override boolean isNullable(Parameter param) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param) ; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
} private static File fullpath(String path) { return new File(new File(path).toURI()); } private static URL makeJarUrlWithName(String name) throws IOException { /* * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of * c.g.c.io.Files.createTempDir? */ File fullPath = new File(Files.createTempDir(), name); File jarFile = pickAnyJarFile();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} /** * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances * that use {@code comparator} to determine the least and greatest elements. */ /* * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those alsoCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0)