Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,035 for nulla (0.18 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableSet.java

          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0, 0);
    
      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsImplTest.java

        int[] expected = {0, 1, 2, 1, 4, 5, 0};
        checkIndexOf(toTest, expected);
      }
    
      public void testIndexOfImpl_null() {
        List<String> toTest;
        try {
          toTest = createList(String.class, null, "A", "B", null, "C", null);
        } catch (NullPointerException e) {
          // example cannot handle nulls, test invalid
          return;
        }
        int[] expected = {0, 1, 2, 0, 4, 0};
        checkIndexOf(toTest, expected);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

        int[] expected = {0, 1, 2, 1, 4, 5, 0};
        checkIndexOf(toTest, expected);
      }
    
      public void testIndexOfImpl_null() {
        List<String> toTest;
        try {
          toTest = createList(String.class, null, "A", "B", null, "C", null);
        } catch (NullPointerException e) {
          // example cannot handle nulls, test invalid
          return;
        }
        int[] expected = {0, 1, 2, 0, 4, 0};
        checkIndexOf(toTest, expected);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testAdd_nullSupported() {
        assertTrue("add(null) should return true", collection.add(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testAdd_nullUnsupported() {
        try {
          collection.add(null);
          fail("add(null) should throw");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_replacingNull() {
        E[] elements = createSamplesArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeVisitor.java

      /**
       * Visits the given types. Null types are ignored. This allows subclasses to call {@code
       * visit(parameterizedType.getOwnerType())} safely without having to check nulls.
       */
      public final void visit(@Nullable Type... types) {
        for (Type type : types) {
          if (type == null || !visited.add(type)) {
            // null owner type, or already visited;
            continue;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testAdd_nullSupported() {
        assertTrue("add(null) should return true", collection.add(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testAdd_nullUnsupported() {
        try {
          collection.add(null);
          fail("add(null) should throw");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        // [[null, null], [null], [1, null, 2], [1, 1], [1, 2], [1], [2], [], null]
        assertThat(sorted)
            .containsExactly(
                Lists.<@Nullable Integer>newArrayList(nullInt, nullInt),
                Lists.<@Nullable Integer>newArrayList(nullInt),
                Lists.<@Nullable Integer>newArrayList(1, null, 2),
                Lists.newArrayList(1, 1),
                Lists.newArrayList(1, 2),
                Lists.newArrayList(1),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        // [[null, null], [null], [1, null, 2], [1, 1], [1, 2], [1], [2], [], null]
        assertThat(sorted)
            .containsExactly(
                Lists.<@Nullable Integer>newArrayList(nullInt, nullInt),
                Lists.<@Nullable Integer>newArrayList(nullInt),
                Lists.<@Nullable Integer>newArrayList(1, null, 2),
                Lists.newArrayList(1, 1),
                Lists.newArrayList(1, 2),
                Lists.newArrayList(1),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *             impossible.
       *         <li>Test will fail if the constructor or factory method throws exception.
       *       </ul>
       *   <li>If there is no non-private constructor or non-private static factory method declared by
       *       {@code cls}, instance methods are skipped for nulls test.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top