Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 871 for NULLABLE (0.05 seconds)

  1. android/guava/src/com/google/common/base/Supplier.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class that can supply objects of a single type; a pre-Java-8 version of {@link
     * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Map.Entry;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code entrySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

     */
    public abstract class LookupInvoker<C extends LookupContext> implements Invoker {
        protected final Lookup protoLookup;
    
        @Nullable
        protected final Consumer<LookupContext> contextConsumer;
    
        public LookupInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            this.protoLookup = requireNonNull(protoLookup);
            this.contextConsumer = contextConsumer;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         *
         * @return the current working directory path, or null if not set
         */
        @Nullable
        Path cwd();
    
        /**
         * Returns the Maven home directory.
         * If not explicitly set, this value will be detected during parsing.
         *
         * @return the Maven home directory path, or null if not set
         */
        @Nullable
        Path mavenHome();
    
        /**
         * Returns the user's home directory.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         * though it's racy, we don't care which of those values we get, so no need to synchronize.
         */
        @LazyInit @Nullable Thread thread;
    
        /** Only used by the thread associated with this object */
        @Nullable Runnable nextTask;
    
        /** Only used by the thread associated with this object */
        @Nullable Executor nextExecutor;
      }
    
      /**
       * Enqueues a task to run when the previous task (if any) completes.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/ElementOrder.java

    import com.google.common.collect.Ordering;
    import com.google.errorprone.annotations.Immutable;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to represent the order of elements in a data structure that supports different options for
     * iteration order guarantees.
     *
     * <p>Example usage:
     *
     * {@snippet :
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/graph/ElementOrder.java

    import com.google.common.collect.Ordering;
    import com.google.errorprone.annotations.Immutable;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to represent the order of elements in a data structure that supports different options for
     * iteration order guarantees.
     *
     * <p>Example usage:
     *
     * {@snippet :
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

        }
      }
    
      @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
      public boolean contains(@Nullable Object object) {
        return indexOf(object) >= 0;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ReverseOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the reverse of a given order. */
    @GwtCompatible
    final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Ordering<? super T> forwardOrder;
    
      ReverseOrdering(Ordering<? super T> forwardOrder) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top