- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 854 for Nullable (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
import com.google.errorprone.annotations.OverridingMethodsMustInvokeSuper; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map}) * that contain elements. * * @param <C> the type of the container
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* @param language the language of the sources to return, or {@code null} for all languages */ @Nonnull Stream<SourceRoot> getEnabledSourceRoots( @Nonnull Project project, @Nullable ProjectScope scope, @Nullable Language language); /** * Adds the given source to the given project. * If a source already exists for the given scope, language and directory,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:29:13 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
import java.util.List; import java.util.Set; import java.util.logging.Logger; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests the object generated * by a G, selecting appropriate tests by matching them against specified features. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/OptionalUtil.java
*/ public class OptionalUtil { /** * Default constructor. */ private OptionalUtil() { // Default constructor } /** * Creates an OptionalEntity from a nullable entity. * * @param <T> the type of the entity * @param entity the entity (can be null) * @return the OptionalEntity */ public static <T> OptionalEntity<T> ofNullable(final T entity) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNullForbidden() { assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3()))); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types @MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyCollectionOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections.<V>emptyList())); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java
* <p> * Annotated fields must not be null after construction has completed. * <p> * When this annotation is applied to a method it applies to the method return value. * * @see Nullable * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
} static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) { return Maps.newLinkedHashMapWithExpectedSize(expectedSize); } static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) { return Sets.newHashSetWithExpectedSize(expectedSize); } static <E extends @Nullable Object> Set<E> newConcurrentHashSet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
runConcurrentTest( numberOfThreads, new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception { long unused = ticker.read(); return null; } }); assertEquals(incrementByNanos * numberOfThreads, ticker.read()); } /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
} @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks) throws InterruptedException { return delegate().invokeAll(tasks); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate(); assertThat(multimap.entries()) .containsExactly( Maps.<@Nullable String, Integer>immutableEntry(null, 7), Maps.<@Nullable String, Integer>immutableEntry(null, 3), Maps.<@Nullable String, Integer>immutableEntry(null, 1), Maps.<String, @Nullable Integer>immutableEntry("tree", null),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0)