Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 804 for nullable (0.26 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

    import java.util.List;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A container class for the five sample elements we need for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TablesTest.java

                Tables.<@Nullable Object, @Nullable Object, @Nullable Object>immutableCell(
                    null, null, null))
            .addEqualityGroup(
                Tables.<String, @Nullable Object, @Nullable Object>immutableCell("bar", null, null))
            .addEqualityGroup(
                Tables.<@Nullable Object, Integer, @Nullable Object>immutableCell(null, 2, null))
            .addEqualityGroup(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TableCollectors.java

                    mergeFunction),
            (s1, s2) -> s1.combine(s2, mergeFunction),
            state -> state.toTable());
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              Function<? super T, ? extends R> rowFunction,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/CollectorTester.java

    public final class CollectorTester<
        T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> {
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java

        super(cause);
      }
    
      public UncheckedTimeoutException(@Nullable String message, @Nullable Throwable cause) {
        super(message, cause);
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * <p>Cancellation does not propagate from the output future to a callable that has begun to
       * execute, but if the output future is cancelled before {@link Callable#call()} is invoked,
       * {@link Callable#call()} will not be invoked.
       */
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Callable<T> callable, Executor executor) {
        checkNotNull(callable);
        checkNotNull(executor);
        return submitAsync(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/StandardTable.java

      }
    
      private boolean containsMapping(
          @Nullable Object rowKey, @Nullable Object columnKey, @Nullable Object value) {
        return value != null && value.equals(get(rowKey, columnKey));
      }
    
      /** Remove a row key / column key / value mapping, if present. */
      private boolean removeMapping(
          @Nullable Object rowKey, @Nullable Object columnKey, @Nullable Object value) {
        if (containsMapping(rowKey, columnKey, value)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

      @Override
      public @Nullable V remove(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.remove(key);
        }
        Object oldValue = removeHelper(key);
        return (oldValue == NOT_FOUND) ? null : (V) oldValue;
      }
    
      private @Nullable Object removeHelper(@Nullable Object key) {
        if (needsAllocArrays()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

       */
      public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) {
        return new FunctionComposition<>(g, f);
      }
    
      private static final class FunctionComposition<
              A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          implements Function<A, C>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      }
    
      /**
       * Class for testing all permutations of nullable/non-nullable two-argument methods using
       * testMethod().
       *
       * <ul>
       *   <li>normalNormal: two params, neither is Nullable
       *   <li>nullableNormal: only first param is Nullable
       *   <li>normalNullable: only second param is Nullable
       *   <li>nullableNullable: both params are Nullable
       * </ul>
       */
      public static class TwoArg {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top