Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,063 for nulls (0.19 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       C}, instance methods are skipped for nulls test.
       *   <li>Nulls test is not performed on method return values unless the method is a visible static
       *       factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       C}, instance methods are skipped for nulls test.
       *   <li>Nulls test is not performed on method return values unless the method is a visible static
       *       factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
           * worth noting that we promise not to put nulls into the array in the first `size` elements.
           * We uphold that promise here because our callers promise that `elements` will not contain
           * nulls in its first `n` elements.
           */
          System.arraycopy(elements, 0, contents, size, n);
          size += n;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        return asImmutableList(array);
      }
    
      /** Views the array as an immutable list. Checks for nulls; does not copy. */
      private static <E> ImmutableList<E> construct(Object... elements) {
        return asImmutableList(checkElementsNotNull(elements));
      }
    
      /**
       * Views the array as an immutable list. Does not check for nulls; does not copy.
       *
       * <p>The array must be internally created.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

                        }
                        return transform(fromList, removeFirst);
                      }
                    })
                .named("Lists.transform, random access, no nulls")
                .withFeatures(
                    CollectionSize.ANY,
                    ListFeature.REMOVE_OPERATIONS,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsTest.java

                        }
                        return transform(fromList, removeFirst);
                      }
                    })
                .named("Lists.transform, random access, no nulls")
                .withFeatures(
                    CollectionSize.ANY,
                    ListFeature.REMOVE_OPERATIONS,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      }
    
      /*
       * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to
       * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However,
       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        initThreeCopies();
        assertSetCountDecreasingFailure(e0(), 1);
      }
    
      // setCount with nulls:
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          List<?> normalValues = (List<?>) asList(elements);
          List<E> extremeValues = new ArrayList<>();
    
          // nulls are usually out of bounds for a subset, so ban them altogether
          for (Object o : elements) {
            if (o == null) {
              throw new NullPointerException();
            }
          }
    
          // prepare extreme values to be filtered out of view
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        initThreeCopies();
        assertSetCountDecreasingFailure(e0(), 1);
      }
    
      // setCount with nulls:
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top