Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 4,689 for nulls (0.03 seconds)

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

        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractSequentialIterator.java

     * whose next element can always be derived from the previous element. Null elements are not
     * supported, nor is the {@link #remove()} method.
     *
     * <p>Example:
     *
     * {@snippet :
     * Iterator<Integer> powersOfTwo =
     *     new AbstractSequentialIterator<Integer>(1) {
     *       protected Integer computeNext(Integer previous) {
     *         return (previous == 1 << 30) ? null : previous * 2;
     *       }
     *     };
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            final MethodDesc methodDesc = beanDesc.getMethodDescNoException(name);
            if (methodDesc == null) {
                return null;
            }
            final Object value = methodDesc.invoke(annotation);
            if (value == null || "".equals(value)) {
                return null;
            }
            return value;
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            }
    
            @Override
            public LaunchedProcess launchNow() {
                return delegate != null ? delegate.launchNow() : null;
            }
    
            @Override
            public LaunchedProcess launchNow(final LaunchNowOpCall opLambda) {
                return delegate != null ? delegate.launchNow(opLambda) : null;
            }
    
            @Override
            public void stopNow() {
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - should return empty when parameter name is blank
            assertFalse(result.isPresent());
        }
    
        // Test findBusinessLocale with null parameter name
        @Test
        public void test_findBusinessLocale_withNullParameterName() {
            // Setup mock config with null parameter name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

                                valueClass == null ? null : valueClass.getName(), valueClass == null ? null : valueClass.getClassLoader(),
                                value, targetClass == null ? null : targetClass.getName(),
                                targetClass == null ? null : targetClass.getClassLoader()),
                        e);
            }
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

                    "Constructor com.example.Source(java.lang.String): Parameter 0 from null accepting to non-null accepting breaking change."
                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null returning to non-null returning is not breaking`() {
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertEquals("0.0.0.0", unknownName.getName(), "Unknown name should be 0.0.0.0");
        }
    
        @Test
        @DisplayName("Should handle null hostname in getByName")
        void testGetByNameWithNull() {
            // When/Then
            assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getByName(null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

            assertSame(ObjectUtil.defaultValue(null, hoge), hoge);
            assertSame(ObjectUtil.defaultValue(hoge, null), hoge);
            assertSame(ObjectUtil.defaultValue(hoge, hoge), hoge);
            assertSame(ObjectUtil.defaultValue(null, null), null);
            assertThat(ObjectUtil.defaultValue(null, "NULL"), is("NULL"));
            assertThat(ObjectUtil.defaultValue(null, 1), is(1));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableMap.java

          ImmutableMapEntry<K, V> effectiveEntry =
              checkNoConflictInKeyBucket(key, value, keyBucketHead, throwIfDuplicateKeys);
          if (effectiveEntry == null) {
            // prepend, not append, so the entries can be immutable
            effectiveEntry =
                (keyBucketHead == null)
                    ? makeImmutable(entry, key, value)
                    : new NonTerminalImmutableMapEntry<K, V>(key, value, keyBucketHead);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top