Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 388 for nilable (0.15 sec)

  1. guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_NULL =
          Arrays.asList((Integer) null, null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_1 = Arrays.asList(null, 1);
      private static final Iterable<@Nullable Integer> ITERABLE_1_NULL = Arrays.asList(1, null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable {
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      private transient Map<K, V> delegate;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        Multiset<String[]> expected = HashMultiset.create();
        expected.add(array);
        assertEquals(expected, multiset);
      }
    
      public void testCreation_arrayContainingOnlyNull() {
        @Nullable String[] array = new @Nullable String[] {null};
        try {
          ImmutableMultiset.copyOf((String[]) array);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 21K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

        return (part instanceof CharSequence) ? (CharSequence) part : part.toString();
      }
    
      private static Iterable<@Nullable Object> iterable(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

    @ElementTypesAreNonnullByDefault
    public final class LinkedHashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends LinkedHashMultimapGwtSerializationDependencies<K, V> {
    
      /** Creates a new, empty {@code LinkedHashMultimap} with the default initial capacities. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              iterator.remove();
              return null;
            }
          };
    
      private static final IteratorOperation NEXT_METHOD =
          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              return iterator.next();
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          final Iterable<T> iterable, final int size) {
        checkNotNull(iterable);
        checkArgument(size > 0);
        return new FluentIterable<List<@Nullable T>>() {
          @Override
          public Iterator<List<@Nullable T>> iterator() {
            return Iterators.paddedPartition(iterable.iterator(), size);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        Callable<@Nullable Void> cancelRunnable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() {
                cancellationSuccess.set(currentFuture.get().cancel(true));
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> setFutureCompleteSuccessfullyRunnable =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        assertMultimapRemainsUnmodified(multimap, originalEntries);
      }
    
      private static <E extends @Nullable Object> void assertCollectionsAreEquivalent(
          Collection<E> expected, Collection<E> actual) {
        assertIteratorsInOrder(expected.iterator(), actual.iterator());
      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top