Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,179 for nulla (0.16 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-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * excluded from the automated null tests performed by this method.
       */
      @Test
      public void testNulls() throws Exception {
        for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
          try {
            tester.doTestNulls(classToTest, visibility);
          } catch (Throwable e) {
            throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e);
          }
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. android/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 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. 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;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  5. 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)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * excluded from the automated null tests performed by this method.
       */
      @Test
      public void testNulls() throws Exception {
        for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
          try {
            tester.doTestNulls(classToTest, visibility);
          } catch (Throwable e) {
            throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e);
          }
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<@Nullable Integer> isNull = Predicates.equalTo(null);
        assertTrue(isNull.apply(null));
        assertFalse(isNull.apply(1));
      }
    
      public void testIsEqualToNull_equality() {
        new EqualsTester()
            .addEqualityGroup(
                Predicates.<@Nullable Integer>equalTo(null),
                Predicates.<@Nullable Integer>equalTo(null))
            .addEqualityGroup(Predicates.equalTo(1))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K 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. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top