Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 884 for nullable (0.08 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

       * <p>The pointers in [size(), entries.length) are all "null" (UNSET).
       */
      private transient int @Nullable [] entries;
    
      /**
       * The elements contained in the set, in the range of [0, size()). The elements in [size(),
       * elements.length) are all {@code null}.
       */
      @VisibleForTesting transient @Nullable Object @Nullable [] elements;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

        return delegate().hasEdgeConnecting(endpoints);
      }
    
      @Override
      public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
        return delegate().edgeValueOrDefault(nodeU, nodeV, defaultValue);
      }
    
      @Override
      public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
        return delegate().edgeValueOrDefault(endpoints, defaultValue);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

      @CanIgnoreReturnValue
      @Override
      public @Nullable V putIfAbsent(K key, V value) {
        return delegate().putIfAbsent(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@Nullable Object key, @Nullable Object value) {
        return delegate().remove(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V replace(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 16:58:16 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

    @GwtCompatible
    public abstract class FluentFuture<V extends @Nullable Object>
        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractCache}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class AbstractCacheTest extends TestCase {
    
      public void testGetIfPresent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

    @GwtCompatible
    @SuppressWarnings(
        // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
        "ShortCircuitBoolean")
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
        extends AggregateFutureState<OutputT> {
      private static final LazyLogger logger = new LazyLogger(AggregateFuture.class);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

                  e);
        }
      }
    
      private static final class RunnableExecutorPair {
        final Runnable runnable;
        final Executor executor;
        @Nullable RunnableExecutorPair next;
    
        RunnableExecutorPair(
            Runnable runnable, Executor executor, @Nullable RunnableExecutorPair next) {
          this.runnable = runnable;
          this.executor = executor;
          this.next = next;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

     */
    
    package com.google.common.eventbus;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top