- Sort Score
- Num 10 results
- Language All
Results 1811 - 1820 of 4,689 for nulls (0.27 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<@Nullable String> set = newHashSet("a", null, "b"); assertTrue(Iterables.contains(set, null)); } public void test_contains_null_set_no() { Iterable<String> set = newHashSet("a", "b"); assertFalse(Iterables.contains(set, null)); } public void test_contains_null_iterable_yes() { Iterable<@Nullable String> set = iterable("a", null, "b"); assertTrue(Iterables.contains(set, null));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
* @return the formatter instance * @throws IllegalArgumentException if the format is null, empty, or not supported */ protected IndexExportFormatter createFormatter(final String format) { if (format == null || format.trim().isEmpty()) { throw new IllegalArgumentException("Export format must not be null or empty"); } switch (format.trim().toLowerCase()) { case "html":Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
assertThrows(NullPointerException.class, () -> Optional.of(null)); } public void testFromNullable() { Optional<String> optionalName = Optional.fromNullable("bob"); assertThat(optionalName.get()).isEqualTo("bob"); } public void testFromNullable_null() { // not promised by spec, but easier to test assertThat(Optional.fromNullable(null)).isSameInstanceAs(Optional.absent()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
return s -> { for (UnaryOperator<String> cb : callbacks) { String r = cb.apply(s); if (r != null) { return r; } } return null; }; } public static int toMavenExecutionRequestLoggingLevel(Slf4jConfiguration.Level level) { requireNonNull(level, "level");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
} @Test public void test_constructorWithScheduledJob_nullToString() { // Test with scheduled job that returns null from toString ScheduledJob scheduledJob = new ScheduledJob() { @Override public String toString() { return null; } }; JobNotFoundException exception = new JobNotFoundException(scheduledJob);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.2K bytes - Click Count (0) -
tests/test_request_params/test_form/test_optional_str.py
assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "anyOf": [{"type": "string"}, {"type": "null"}], "title": "P", }, }, "title": body_model_name, "type": "object", } @pytest.mark.parametrize( "path",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* is null. The builder is left in an invalid state. */ @CanIgnoreReturnValue public Builder<K, V> putAll(K key, Iterable<? extends V> values) { if (key == null) { throw new NullPointerException("null key in entry: null=" + Iterables.toString(values)); } Iterator<? extends V> valuesItr = values.iterator();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
@Test public void test_isEmptyArray_withNullElements() { assertTrue(searchRequestParams.isEmptyArray(new String[] { null, null })); } @Test public void test_isEmptyArray_withMixedBlankAndNull() { assertTrue(searchRequestParams.isEmptyArray(new String[] { null, "", " " })); } @Test public void test_isEmptyArray_withNonEmptyString() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 26.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
static <T extends Comparable> GeneralRange<T> from(Range<T> range) { T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null; BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN; T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null; BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN; return new GeneralRange<>( Ordering.natural(),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
builder.setFetchSource(ACCESS_RESULT_FIELDS, null); return builder.execute(); }); final OpenSearchResultList<OpenSearchAccessResult> targetList = new OpenSearchResultList<>(); final SearchHits hits = response.getHits(); final TotalHits totalHits = hits.getTotalHits(); final long totalHitsValue = totalHits != null ? totalHits.value() : 0;
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.1K bytes - Click Count (0)