Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 884 for Nullable (0.04 sec)

  1. guava/src/com/google/common/collect/AbstractRangeSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A skeletal implementation of {@code RangeSet}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testCopyOfNullKey() {
        HashMultimap<@Nullable String, Integer> input = HashMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableSetMultimap.copyOf((Multimap<String, Integer>) input));
      }
    
      public void testCopyOfNullValue() {
        HashMultimap<String, @Nullable Integer> input = HashMultimap.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(nodeV, nodeU, defaultValue); // transpose
        }
    
        @Override
        public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(transpose(endpoints), defaultValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(nodeV, nodeU, defaultValue); // transpose
        }
    
        @Override
        public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(transpose(endpoints), defaultValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int c) {
              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int cp) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int c) {
              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int cp) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. 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;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code keySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    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. guava-tests/test/com/google/common/io/SourceSinkFactories.java

    import java.nio.file.StandardOpenOption;
    import java.util.Arrays;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. 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.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top