Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for nilable (1.86 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. 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)
  4. 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)
  5. android/guava/src/com/google/common/collect/Lists.java

       */
      public static <E extends @Nullable Object> List<E> asList(
          @ParametricNullness E first, @ParametricNullness E second, E[] rest) {
        return new TwoPlusArrayList<>(first, second, rest);
      }
    
      /** @see Lists#asList(Object, Object[]) */
      private static class OnePlusArrayList<E extends @Nullable Object> extends AbstractList<E>
          implements Serializable, RandomAccess {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
        List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt);
        List<@Nullable List<@Nullable Integer>> list =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
        List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt);
        List<@Nullable List<@Nullable Integer>> list =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      /** Prepares the multimap for unmodifiable tests, returning an unmodifiable view of the map. */
      private static Multimap<@Nullable String, @Nullable Integer> prepareUnmodifiableTests(
          Multimap<@Nullable String, @Nullable Integer> multimap,
          boolean permitsDuplicates,
          @Nullable String nullKey,
          @Nullable Integer nullValue) {
        multimap.clear();
        multimap.put("foo", 1);
        multimap.put("foo", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
Back to top