Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 875 for Nullable (0.62 sec)

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

        @Nullable Segment<K, V, E, S> currentSegment;
        @Nullable AtomicReferenceArray<E> currentTable;
        @Nullable E nextEntry;
        @Nullable WriteThroughEntry nextExternal;
        @Nullable WriteThroughEntry lastReturned;
    
        HashIterator() {
          nextSegmentIndex = segments.length - 1;
          nextTableIndex = -1;
          advance();
        }
    
        @Override
        public abstract T next();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/PairwiseEquivalence.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    @GwtCompatible
    final class PairwiseEquivalence<E, T extends @Nullable E> extends Equivalence<Iterable<T>>
        implements Serializable {
      final Equivalence<E> elementEquivalence;
    
      PairwiseEquivalence(Equivalence<E> elementEquivalence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
      }
    
      private static <V> ImmutableSet<V> valueSet(
          @Nullable Comparator<? super V> valueComparator, Collection<? extends V> values) {
        return (valueComparator == null)
            ? ImmutableSet.copyOf(values)
            : ImmutableSortedSet.copyOf(valueComparator, values);
      }
    
      private static <V> ImmutableSet<V> emptySet(@Nullable Comparator<? super V> valueComparator) {
        return (valueComparator == null)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

        return size() == 0;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return get(key) != null;
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      // Overriding to mark it Nullable
      @Override
      public abstract @Nullable V get(@Nullable Object key);
    
      /**
       * @since 21.0 (but only since 23.5 in the Android <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicates.java

       */
      public static <T extends @Nullable Object> Predicate<T> notNull() {
        return ObjectPredicate.NOT_NULL.withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code predicate.negate()}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top