Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 878 for Nullable (0.14 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        @Override
        public boolean equals(@Nullable Object o) {
          return false;
        }
    
        @Override
        public int hashCode() {
          return super.hashCode();
        }
      }
    
      /** Test class that returns true if the test object is null */
      private static class InvalidEqualsNullObject {
    
        @Override
        public boolean equals(@Nullable Object o) {
          return o == this || o == null;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

      private static final class NewExecutionListQueue {
        static final Logger log = Logger.getLogger(NewExecutionListQueue.class.getName());
    
        @GuardedBy("this")
        private @Nullable RunnableExecutorPair head;
    
        @GuardedBy("this")
        private @Nullable RunnableExecutorPair tail;
    
        @GuardedBy("this")
        private boolean executed;
    
        void add(Runnable runnable, Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

        public @Nullable E higher(@ParametricNullness E e) {
          return delegate.higher(e);
        }
    
        @Override
        public @Nullable E pollFirst() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public @Nullable E pollLast() {
          throw new UnsupportedOperationException();
        }
    
        @LazyInit private transient @Nullable UnmodifiableNavigableSet<E> descendingSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

    import java.util.RandomAccess;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code LinkedListMultimap}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @NullMarked
    public class LinkedListMultimapTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/RemovalNotification.java

       *
       * @since 19.0
       */
      public static <K, V> RemovalNotification<K, V> create(
          @Nullable K key, @Nullable V value, RemovalCause cause) {
        return new RemovalNotification<>(key, value, cause);
      }
    
      private RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) {
        super(key, value);
        this.cause = checkNotNull(cause);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      public @Nullable E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      public @Nullable E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      public @Nullable E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      public @Nullable E higher(E element) {
        return forward.lower(element);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableMap.java

        return null;
      }
    
      static final class BucketOverflowException extends Exception {}
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return get(key, table, mask);
      }
    
      static <V> @Nullable V get(
          @Nullable Object key, @Nullable ImmutableMapEntry<?, V> @Nullable [] keyTable, int mask) {
        if (key == null || keyTable == null) {
          return null;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return super.containsValue(value);
        }
    
        @Override
        public @Nullable V get(Object key) {
          assertTrue(Thread.holdsLock(mutex));
          return super.get(key);
        }
    
        @Override
        public @Nullable V put(K key, V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.put(key, value);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenableScheduledFuture.java

    import java.util.concurrent.ScheduledFuture;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Helper interface to implement both {@link ListenableFuture} and {@link ScheduledFuture}.
     *
     * @author Anthony Zana
     * @since 15.0
     */
    @GwtCompatible
    public interface ListenableScheduledFuture<V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top