Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 707 for nilable (0.16 sec)

  1. 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>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.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
    - 9.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectCollectors.java

                MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build),
            ImmutableSetMultimap::copyOf);
      }
    
      static <
              T extends @Nullable Object,
              K extends @Nullable Object,
              V extends @Nullable Object,
              M extends Multimap<K, V>>
          Collector<T, ?, M> toMultimap(
              Function<? super T, ? extends K> keyFunction,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K 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. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session,
                @Nullable Source globalSettingsSource,
                @Nullable Source projectSettingsSource,
                @Nullable Source userSettingsSource) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

       */
      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
          boolean allMustSucceed) {
        super(futures, allMustSucceed, true);
    
        List<@Nullable Present<V>> values =
            futures.isEmpty()
                ? Collections.<@Nullable Present<V>>emptyList()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap(
          Map<K, Collection<V>> map, final Supplier<? extends Collection<V>> factory) {
        return new CustomMultimap<>(map, factory);
      }
    
      private static class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  10. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top