Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 815 for Nullable (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

    import java.util.Collection;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generator for collection of a particular size.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class OneSizeGenerator<T, E extends @Nullable Object>
        implements OneSizeTestContainerGenerator<T, E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible(serializable = true, emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompoundOrdering.java

    import java.util.Comparator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering that tries several comparators in order. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<? super T>[] comparators;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class SetMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      public void testAsMapValuesImplementSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.shuffle;
    
    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Package up sample data for common collections benchmarking.
     *
     * @author Nicholaus Shupe
     */
    class CollectionBenchmarkSampleData {
      private final boolean isUserTypeFast;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    class ObjectCountHashMap<K extends @Nullable Object> {
    
      /** Creates an empty {@code ObjectCountHashMap} instance. */
      static <K extends @Nullable Object> ObjectCountHashMap<K> create() {
        return new ObjectCountHashMap<K>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

        }
    
        @Override
        public boolean offer(T o) {
          return standardOffer(o);
        }
    
        @Override
        public @Nullable T peek() {
          return standardPeek();
        }
    
        @Override
        public @Nullable T poll() {
          return standardPoll();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A request for resolving an artifact.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        static final class PluginInfo {
            @Nonnull
            final String groupId;
    
            @Nonnull
            private final String artifactId;
    
            @Nullable
            private final String goalPrefix;
    
            @Nullable
            private final String name;
    
            PluginInfo(String groupId, String artifactId, String goalPrefix, String name) {
                this.groupId = groupId;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.util.Arrays;
    import java.util.Comparator;
    import javax.lang.model.element.Modifier;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top