Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 871 for NULLABLE (0.04 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            @Nullable
            private final String modelId;
    
            ResolvedPathSource(Path path, String location, String modelId) {
                super(path, location);
                this.modelId = modelId;
            }
    
            @Override
            public Path getPath() {
                return null;
            }
    
            @Override
            @Nullable
            public String getModelId() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      public boolean containsKey(@Nullable Object key) {
        return indexOf(key) != -1;
      }
    
      public int get(@Nullable Object key) {
        int index = indexOf(key);
        return (index == -1) ? 0 : values[index];
      }
    
      @CanIgnoreReturnValue
      public int remove(@Nullable Object key) {
        return remove(key, smearedHash(key));
      }
    
      private int remove(@Nullable Object key, int hash) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
        return (ListenableFuture<T>) super.submit(task, result);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 17:47:46 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Comparators.java

        checkNotNull(valueComparator);
        return Comparator.<Optional<T>, @Nullable T>comparing(
            o -> orElseNull(o), Comparator.nullsLast(valueComparator));
      }
    
      // For discussion of why this exists, see the Android flavor.
      private static <T> @Nullable T orElseNull(Optional<T> optional) {
        return optional.orElse(null);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top