Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 884 for nullable (0.12 sec)

  1. android/guava/src/com/google/common/collect/AbstractListMultimap.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    abstract class AbstractListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapBasedMultimap<K, V> implements ListMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

      @Deprecated
      protected ExecutionError(@Nullable String message) {
        super(message);
      }
    
      /**
       * Creates a new instance with the given detail message and cause. Prefer to provide a
       * non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@Nullable String message, @Nullable Error cause) {
        super(message, cause);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset();
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return forwardMultiset().lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return forwardMultiset().firstEntry();
      }
    
      abstract Iterator<Entry<E>> entryIterator();
    
      @Nullable private transient Set<Entry<E>> entrySet;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/xml/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Preconditions;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses
     * should override one or more methods to modify the behavior of the backing future as desired per
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/AbstractIterator.java

        READY,
        NOT_READY,
        DONE,
        FAILED,
      }
    
      private @Nullable T next;
    
      protected abstract @Nullable T computeNext();
    
      @CanIgnoreReturnValue
      protected final @Nullable T endOfData() {
        state = State.DONE;
        return null;
      }
    
      @Override
      public final boolean hasNext() {
        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      public void testTransformEntrySetContains() {
        Map<@Nullable String, @Nullable Boolean> underlying = new HashMap<>();
        underlying.put("a", null);
        underlying.put("b", true);
        underlying.put(null, true);
    
        Map<@Nullable String, @Nullable Boolean> map =
            transformValues(
                underlying,
                new Function<@Nullable Boolean, @Nullable Boolean>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeSet.java

        public Comparator<? super Cut<C>> comparator() {
          return Ordering.<Cut<C>>natural();
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return get(key) != null;
        }
    
        @Override
        public @Nullable Range<C> get(@Nullable Object key) {
          if (key instanceof Cut) {
            try {
              @SuppressWarnings("unchecked") // we catch CCEs
              Cut<C> cut = (Cut<C>) key;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapEntry.java

         * in the value bucket (or vice versa).
         */
        private final transient @Nullable ImmutableMapEntry<K, V> nextInKeyBucket;
    
        NonTerminalImmutableMapEntry(
            K key, V value, @Nullable ImmutableMapEntry<K, V> nextInKeyBucket) {
          super(key, value);
          this.nextInKeyBucket = nextInKeyBucket;
        }
    
        @Override
        final @Nullable ImmutableMapEntry<K, V> getNextInKeyBucket() {
          return nextInKeyBucket;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top