Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,060 for nulls (0.01 sec)

  1. android/guava-testlib/test/com/google/common/testing/PackageSanityTests.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /** Test nulls for the entire package. */
    
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 812 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Comprehensive test to verify all methods return expected values
            FessJsonResourceProvider testProvider = new FessJsonResourceProvider();
    
            // Verify nulls suppression is enabled
            assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());
    
            // Verify pretty print is enabled
            assertFalse("Pretty print should not be suppressed", testProvider.isPrettyPrintSuppressed());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
      E[] createArray(int length);
    
      /**
       * Returns the iteration ordering of elements, given the order in which they were added to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Parameter.java

        return getAnnotation(annotationType) != null;
      }
    
      @Override
      public <A extends Annotation> @Nullable A getAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
        for (Annotation annotation : annotations) {
          if (annotationType.isInstance(annotation)) {
            return annotationType.cast(annotation);
          }
        }
        return null;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/PackageSanityTests.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /** Test nulls for the entire package. */
    
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 812 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests nulls for the entire package. */
    
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 874 bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
      E[] createArray(int length);
    
      /**
       * Returns the iteration ordering of elements, given the order in which they were added to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An ordering that treats all references as equals, even nulls.
     *
     * @author Emily Soldal
     */
    @GwtCompatible
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top