Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 884 for nullable (0.04 sec)

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

        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true);
    
        doTestToArrayImpl2(Lists.<@Nullable Integer>newArrayList(1, null, 3), new Integer[0], false);
        doTestToArrayImpl2(Lists.<@Nullable Integer>newArrayList(1, null, 3), new Integer[2], false);
        doTestToArrayImpl2(Lists.<@Nullable Integer>newArrayList(1, null, 3), new Integer[3], true);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

      static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<>();
    
      private final transient @Nullable Object keyHashTable;
      @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues;
      private final transient int keyOffset; // 0 for K-to-V, 1 for V-to-K
      private final transient int size;
      private final transient RegularImmutableBiMap<V, K> inverse;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

        this.forward = forward;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return forward.count(element);
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return forward.firstEntry();
      }
    
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TableCollectors.java

                    mergeFunction),
            (s1, s2) -> s1.combine(s2, mergeFunction),
            state -> state.toTable());
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              Function<? super T, ? extends R> rowFunction,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * @param <U> the type returned by the function
         */
        public interface ClosingFunction5<
            V1 extends @Nullable Object,
            V2 extends @Nullable Object,
            V3 extends @Nullable Object,
            V4 extends @Nullable Object,
            V5 extends @Nullable Object,
            U extends @Nullable Object> {
          /**
           * Applies this function to five inputs, or throws an exception if unable to do so.
           *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Joiner.java

      }
    
      private static Iterable<@Nullable Object> iterable(
          @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
          public @Nullable Object get(int index) {
            switch (index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

     */
    @GwtCompatible
    public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
      private @Nullable T nextOrNull;
    
      /**
       * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null,
       * creates a new empty iterator.
       */
      protected AbstractSequentialIterator(@Nullable T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @Nullable Object @Nullable [] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top