- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for notNull (0.1 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java
@Override public void onOpen(@NotNull EventSource eventSource, @NotNull Response response) { try { assertEquals("text/event-stream", response.request().header("Accept")); } catch (Exception e) { future.completeExceptionally(e); } } @Override
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} public void testNotNull_apply() { Predicate<@Nullable Integer> notNull = Predicates.notNull(); assertFalse(notNull.apply(null)); assertTrue(notNull.apply(1)); } public void testNotNull_equality() { new EqualsTester() .addEqualityGroup(Predicates.notNull(), Predicates.notNull()) .addEqualityGroup(Predicates.isNull()) .testEquals(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
MultiValidationBean bean = new MultiValidationBean(); bean.setRequiredCron(null); // Violates NotNull Set<ConstraintViolation<MultiValidationBean>> violations = validator.validate(bean); assertEquals(1, violations.size()); // Only NotNull violation bean.setRequiredCron("invalid"); // Now violates CronExpression violations = validator.validate(bean);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
assertEquals("{constraints.Max.message}", FessMessages.CONSTRAINTS_Max_MESSAGE); assertEquals("{constraints.Min.message}", FessMessages.CONSTRAINTS_Min_MESSAGE); assertEquals("{constraints.NotNull.message}", FessMessages.CONSTRAINTS_NotNull_MESSAGE); assertEquals("{constraints.Null.message}", FessMessages.CONSTRAINTS_Null_MESSAGE); assertEquals("{constraints.Past.message}", FessMessages.CONSTRAINTS_Past_MESSAGE);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
Map<Class<? extends @NonNull B>, B> backingMap) { return new MutableClassToInstanceMap<>(backingMap); } private final Map<Class<? extends @NonNull B>, B> delegate; private MutableClassToInstanceMap(Map<Class<? extends @NonNull B>, B> delegate) { this.delegate = checkNotNull(delegate); } @Override protected Map<Class<? extends @NonNull B>, B> delegate() { return delegate; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { // Unsafe, but we can't do much about it now. return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluent
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) { // Unsafe, but we can't do much about it now. return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate); } /** * Returns a fluent iterable that applies {@code function} to each element of this fluent
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.Array; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * Static utility methods pertaining to object arrays. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.Array; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * Static utility methods pertaining to object arrays. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0)