Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 884 for Nullable (0.04 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

          List<@Nullable String> listWithNulls = asList("a", null, "b");
          assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls));
        }
    
        {
          ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
          Multiset<@Nullable String> multisetWithNull =
              LinkedHashMultiset.create(Arrays.<@Nullable String>asList("a", null, "b"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

        this.delegateMap = delegateMap;
        this.entries = entries;
        this.size = size;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return delegateMap.getOrDefault(element, 0);
      }
    
      @LazyInit private transient @Nullable ImmutableSet<E> elementSet;
    
      @Override
      public ImmutableSet<E> elementSet() {
        ImmutableSet<E> result = elementSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top