Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 886 for nullable (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<@Nullable Object> callback =
            new FutureCallback<@Nullable Object>() {
              @Override
              public void onSuccess(@Nullable Object result) {}
    
              @Override
              public void onFailure(Throwable t) {}
            };
        addCallback(f, callback, directExecutor());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

     * footprint.
     */
    @GwtCompatible
    @NullMarked
    final class ObjectCountLinkedHashMap<K extends @Nullable Object> extends ObjectCountHashMap<K> {
      /** Creates an empty {@code ObjectCountLinkedHashMap} instance. */
      static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> create() {
        return new ObjectCountLinkedHashMap<K>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        E[] castedArray = (E[]) array;
        return Arrays.asList(castedArray);
      }
    
      @Override
      public int indexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableListMultimap.java

    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ListMultimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Objects.java

       * java.util.Objects#equals} instead.
       */
      @SuppressWarnings("InlineMeSuggester") // would introduce fully qualified references to Objects
      public static boolean equal(@Nullable Object a, @Nullable Object b) {
        return java.util.Objects.equals(a, b);
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multiset.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.ObjIntConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A collection that supports order-independent equality, like {@link Set}, but may have duplicate
     * elements. A multiset is also sometimes called a <i>bag</i>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

       * as well.
       */
      @Override
      public abstract ImmutableMap<R, Map<C, V>> rowMap();
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        return get(rowKey, columnKey) != null;
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      /**
       * Guaranteed to throw an exception and leave the table unmodified.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Platform.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @Nullable Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.ListIterator;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Encapsulates the constraints that a class under test must satisfy in order for a tester method to
     * be run against that class.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top