- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 815 for Nullable (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public class SortedSetNavigationTester<E extends @Nullable Object> extends AbstractSetTester<E> { private SortedSet<E> sortedSet; private List<E> values; private @Nullable E a; private @Nullable E b; private @Nullable E c; @Override public void setUp() throws Exception { super.setUp(); sortedSet = (SortedSet<E>) getSet();
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/src/com/google/common/collect/LinkedHashMultiset.java
@GwtCompatible(serializable = true, emulated = true) @ElementTypesAreNonnullByDefault public final class LinkedHashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> { /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create() { return create(ObjectCountHashMap.DEFAULT_SIZE); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java
import org.apache.maven.api.annotations.Nullable; import static org.apache.maven.api.services.BaseRequest.nonNull; /** * * @since 4.0.0 */ @Experimental public interface VersionRangeResolverRequest { @Nonnull Session getSession(); @Nonnull ArtifactCoordinates getArtifactCoordinates(); @Nullable List<RemoteRepository> getRepositories(); @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java
import org.apache.maven.api.annotations.Nullable; import static org.apache.maven.api.services.BaseRequest.nonNull; /** * * @since 4.0.0 */ @Experimental public interface VersionResolverRequest { @Nonnull Session getSession(); @Nonnull ArtifactCoordinates getArtifactCoordinates(); @Nullable List<RemoteRepository> getRepositories(); @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
* @author Louis Wasserman */ @GwtIncompatible // not worth using in GWT for now @ElementTypesAreNonnullByDefault class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> { /** Creates an empty {@code CompactLinkedHashSet} instance. */ public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() { return new CompactLinkedHashSet<>(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 00:15:47 UTC 2024 - 9.7K bytes - Viewed (0) -
android/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-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)