Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1651 - 1660 of 3,735 for Null (0.02 sec)

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

        assertThrows(NullPointerException.class, () -> ImmutableMap.of(null, 1));
    
        assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, null, 2));
      }
    
      public void testOfNullValue() {
        assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", null));
    
        assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, "two", null));
      }
    
      public void testOfWithDuplicateKey() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

          super.getSelectedProtocol(sslSocket)
        }
    
      override fun newSslSocketFactory(trustManager: X509TrustManager): SSLSocketFactory =
        newSSLContext()
          .apply {
            init(null, arrayOf<TrustManager>(trustManager), null)
          }.socketFactory
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      /** All headers. */
      public val headers: Headers,
      /** The body of this request, or null if it has none. This may be truncated. */
      public val body: ByteString?,
      /** The total size of the body of this request (before truncation).*/
      public val bodySize: Long,
      /**
       * The sizes of the chunks of this request's body, or null if the request's body was not encoded
       * with chunked encoding.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * syntax</a>. One caveat to this is that the {@code TreeSet} constructor uses a null {@code
       * Comparator} to mean "natural ordering," whereas this factory rejects null. Clean your code
       * accordingly.
       *
       * @param comparator the comparator to use to sort the set
       * @return a new, empty {@code TreeSet}
       * @throws NullPointerException if {@code comparator} is null
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                if (accessResultData != null) {
                    accessResult.setAccessResultData(null);
                    try {
                        final Transformer transformer = ComponentUtil.getComponent(accessResultData.getTransformerName());
                        if (transformer == null) {
                            // no transformer
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            super.tearDown();
        }
    
        // Test append method with null value
        public void test_append_nullValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> null;
    
            monitorTarget.append(buf, "testKey", supplier);
            assertEquals("\"testKey\":null", buf.toString());
        }
    
        // Test append method with Integer value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

          val heldCertificate = heldCertificate
          if (heldCertificate != null && heldCertificate.keyPair.private.format == null) {
            throw KeyStoreException("unable to support unencodable private key")
          }
    
          val keyManager = newKeyManager(null, heldCertificate, *(intermediates ?: emptyArray()))
          val trustManager = newTrustManager(null, trustedCertificates, immutableInsecureHosts)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        }
    
        {
          ImmutableSet.Builder<String> builder = this.<String>builder();
          assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
        }
    
        {
          ImmutableSet.Builder<String> builder = this.<String>builder();
          assertThrows(NullPointerException.class, () -> builder.add("a", (String) null));
        }
    
        {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
       * <p>This method takes ownership of {@code contents}; do not modify {@code contents} after this
       * returns.
       *
       * @throws NullPointerException if any of the first {@code n} elements of {@code contents} is null
       */
      static <E> ImmutableSortedSet<E> construct(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

         *            The raw class. Must not be {@literal null}.
         */
        public ParameterizedClassDescImpl(final Class<?> rawClass) {
            assertArgumentNotNull("rawClass", rawClass);
    
            this.rawClass = rawClass;
        }
    
        /**
         * Constructs an instance.
         *
         * @param rawClass
         *            The raw class. Must not be {@literal null}.
         * @param arguments
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top