Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 811 for nullable (0.04 sec)

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

        delegate().clear();
      }
    
      @Override
      public boolean containsEntry(@Nullable Object key, @Nullable Object value) {
        return delegate().containsEntry(key, value);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return delegate().containsKey(key);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return delegate().containsValue(value);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escapers.java

       * @return the replacement string, or {@code null} if no escaping was needed
       */
      public static @Nullable String computeReplacement(UnicodeEscaper escaper, int cp) {
        return stringOrNull(escaper.escape(cp));
      }
    
      private static @Nullable String stringOrNull(char @Nullable [] in) {
        return (in == null) ? null : new String(in);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Suppliers.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static final class SupplierComposition<
              F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K 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. 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)
  6. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        public @Nullable K floorKey(K key) {
          return standardFloorKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> ceilingEntry(K key) {
          return standardCeilingEntry(key);
        }
    
        @Override
        public @Nullable K ceilingKey(K key) {
          return standardCeilingKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> higherEntry(K key) {
          return standardHigherEntry(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Table.java

     * @param <V> the type of the mapped values
     * @since 7.0
     */
    @DoNotMock("Use ImmutableTable, HashBasedTable, or another implementation")
    @GwtCompatible
    public interface Table<
        R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> {
      // TODO(jlevy): Consider adding methods similar to ConcurrentMap methods.
    
      // Accessors
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

      protected abstract ListeningExecutorService delegate();
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
        return delegate().submit(task);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        return delegate().submit(task);
      }
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        public static Object good(
            String a,
            int b,
            // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value.
            @SuppressWarnings("unused") OneConstantEnum oneConstantOnly,
            // noConstant doesn't matter since it can only be null
            @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) {
          return new GoodEquals(a, b);
        }
    
        // instance method ignored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top