- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 817 for Callable (0.12 sec)
-
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } } private static class ObjectWhichIsEqualButChangesClass implements Serializable { private static final long serialVersionUID = 1L; @Override public boolean equals(@Nullable Object other) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Multisets#immutableEntry}. * * @author Mike Bostock */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MultisetsImmutableEntryTest extends TestCase { private static final @Nullable String NE = null; private static <E extends @Nullable Object> Entry<E> entry(final E element, final int count) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
List<@Nullable String> listWithNulls = asList("a", null, "b"); assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); Iterator<@Nullable String> iteratorWithNulls = Arrays.<@Nullable String>asList("a", null, "b").iterator(); assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore; /** Skeleton for a tester of a {@code BiMap}. */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java
import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates bimaps, containing sample entries, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Implementation of {@link Multimaps#filterEntries(Multimap, Predicate)}. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault class FilteredEntryMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimap<K, V> implements FilteredMultimap<K, V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); } @Override public int count(@Nullable Object element) { return standardCount(element); } @Override public boolean equals(@Nullable Object object) { return standardEquals(object); } @Override public int hashCode() { return standardHashCode(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.put("bar", 9); assertThat(multimap.keySet()).containsExactly("cow", "bar").inOrder(); } public void testToStringNullExact() { Multimap<@Nullable String, @Nullable Integer> multimap = LinkedHashMultimap.create(); multimap.put("foo", 3); multimap.put("foo", -1); multimap.put(null, null); multimap.put("bar", 1); multimap.put("foo", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.NoSuchElementException; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Basic implementation of {@code Multiset<E>} backed by an instance of {@code * ObjectCountHashMap<E>}. * * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a>. * This may harm parallel performance. */ @Beta public static <A extends @Nullable Object, B extends @Nullable Object, R extends @Nullable Object> Stream<R> zip( Stream<A> streamA, Stream<B> streamB, BiFunction<? super A, ? super B, R> function) { checkNotNull(streamA); checkNotNull(streamB);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0)