Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 397 for nilable (0.33 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          TrustedListenableFutureTask<@Nullable Void> task =
              TrustedListenableFutureTask.create(command, null);
          ScheduledFuture<?> scheduled = delegate.schedule(task, delay, unit);
          return new ListenableScheduledTask<@Nullable Void>(task, scheduled);
        }
    
        @Override
        public <V extends @Nullable Object> ListenableScheduledFuture<V> schedule(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

                    return (from == null) ? true : null;
                  }
                });
    
        Set<Entry<@Nullable String, @Nullable Boolean>> entries = map.entrySet();
        assertTrue(entries.contains(Maps.immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicates.java

      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Predicate<T> alwaysTrue() {
        return ObjectPredicate.ALWAYS_TRUE.withNarrowedType();
      }
    
      /** Returns a predicate that always evaluates to {@code false}. */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Predicate<T> alwaysFalse() {
        return ObjectPredicate.ALWAYS_FALSE.withNarrowedType();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/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 class FunctionComposition<
              A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          implements Function<A, C>, Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

        }
    
        @Override
        Map<R, @Nullable V> getValue(int index) {
          return new Column(index);
        }
    
        @Override
        Map<R, @Nullable V> setValue(int index, Map<R, @Nullable V> newValue) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        @CheckForNull
        public Map<R, @Nullable V> put(C key, Map<R, @Nullable V> value) {
          throw new UnsupportedOperationException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
      public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectSpliterators.java

       * applying {@code function} to the elements of {@code fromSpliterator}.
       */
      static <InElementT extends @Nullable Object, OutElementT extends @Nullable Object>
          Spliterator<OutElementT> flatMap(
              Spliterator<InElementT> fromSpliterator,
              Function<? super InElementT, @Nullable Spliterator<OutElementT>> function,
              int topCharacteristics,
              long topSize) {
        checkArgument(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

       * @since 11.0
       */
      public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          Table<R, C, V> unmodifiableTable(Table<? extends R, ? extends C, ? extends V> table) {
        return new UnmodifiableTable<>(table);
      }
    
      private static class UnmodifiableTable<
              R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      static <K, V> Map<K, V> generateMap(@Nullable K key, @Nullable V value) {
        return generateHashdMap(key, value);
      }
    
      @Generates
      static <K, V> HashMap<K, V> generateHashdMap(@Nullable K key, @Nullable V value) {
        return generateLinkedHashMap(key, value);
      }
    
      @Generates
      static <K, V> LinkedHashMap<K, V> generateLinkedHashMap(@Nullable K key, @Nullable V value) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
Back to top