Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 878 for Nullable (0.04 sec)

  1. guava/src/com/google/common/base/Function.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @FunctionalInterface
    public interface Function<F extends @Nullable Object, T extends @Nullable Object>
        extends java.util.function.Function<F, T> {
      @Override
      @ParametricNullness
      T apply(@ParametricNullness F input);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     *             object being processed or any application-specific state information. May be null if no
     *             additional data is needed.
     */
    public record RequestTrace(@Nullable String context, @Nullable RequestTrace parent, @Nullable Object data) {
    
        public static final String CONTEXT_PLUGIN = "plugin";
        public static final String CONTEXT_PROJECT = "project";
        public static final String CONTEXT_BOOTSTRAP = "bootstrap";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TransposedTableTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Tables#transpose}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TransposedTableTest extends AbstractTableTest<Character> {
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
    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. android/guava/src/com/google/common/collect/PeekingIterator.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that supports a one-element lookahead while iterating.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/BiMap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public interface BiMap<K extends @Nullable Object, V extends @Nullable Object> extends Map<K, V> {
      // Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

     */
    @NullUnmarked
    public class StringCatcher {
      private final List<String> events = new ArrayList<>();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
      public List<String> getEvents() {
        return events;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return ObjectArrays.toArrayImpl(this, other);
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        try {
          // This set never contains null.  We need to explicitly check here
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapSizeTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      public void testSize() {
        int expectedSize = getNumElements();
        Multimap<K, V> multimap = multimap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

          this.entryIterable = (Iterable) entryIterable;
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable V get(@Nullable Object key) {
          if (key instanceof Range) {
            Range<?> range = (Range<?>) key;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link RangeMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top