Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 871 for nilable (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        assertThat(multimap.entries())
            .containsExactly(
                Maps.<@Nullable String, Integer>immutableEntry(null, 7),
                Maps.<@Nullable String, Integer>immutableEntry(null, 3),
                Maps.<@Nullable String, Integer>immutableEntry(null, 1),
                Maps.<String, @Nullable Integer>immutableEntry("tree", null),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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 {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate.firstEntry();
      }
    
      @Override
      public K firstKey() {
        return delegate.firstKey();
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate.firstEntry();
      }
    
      @Override
      public K firstKey() {
        return delegate.firstKey();
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/PredicatesTest.java

          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

            }
          }
        };
    
        abstract <E extends @Nullable Object> void forEach(
            GeneralSpliterator<E> spliterator, Consumer<? super E> consumer);
    
        static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES =
            unmodifiableSet(new LinkedHashSet<>(asList(values())));
      }
    
      private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top