- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,398 for Collection (0.99 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
import com.google.common.collect.testing.SampleElements.Ints; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullMarked; /** * Create integer sets for collection tests. * * @author Gregory Kick */ @GwtCompatible @NullMarked public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { @Override public SampleElements<Integer> samples() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
import com.google.common.collect.testing.SampleElements.Strings; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullMarked; /** * Create string sets for collection tests. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public abstract class TestStringSetGenerator implements TestSetGenerator<String> { @Override public SampleElements<String> samples() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
} @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedNullPresent() { E[] array = createArrayWithNullElement(); collection = getSubjectGenerator().create(array); assertTrue("add(nullPresent) should return true", getList().add(null)); List<E> expected = copyToList(array); expected.add(null); expectContents(expected); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java
import java.io.File; import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.RequestTrace; import org.eclipse.aether.artifact.Artifact; import org.eclipse.aether.collection.CollectStepData; import org.eclipse.aether.repository.LocalRepository; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.1K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java
* packaging types will be available throughout the Maven build process. * <p> * Example usage: * <pre> * public class CustomPackagingProvider implements PackagingProvider { * public Collection<Packaging> provides() { * return Arrays.asList( * packaging("docker-image"), * packaging("flatpak") * ); * } * } * </pre> *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
void testLeakDetection() throws InterruptedException { // Create resource that will be garbage collected without closing createLeakyResource(); // Force garbage collection System.gc(); Thread.sleep(200); // Check for leaks resourceManager.checkForLeaks(); Map<String, Object> stats = resourceManager.getStatistics();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
package com.google.common.math; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.math.BigInteger; import java.math.RoundingMode; /** * A collection of preconditions for math functions. * * @author Louis Wasserman */ @GwtCompatible final class MathPreconditions { @CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
* resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. * * <p>An instance may be called concurrently by multiple threads to process different entries. * Implementations of this interface should avoid performing blocking calls or synchronizing on * shared resources. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import org.junit.Ignore; /** * A generic JUnit test which tests {@code addAll(Collection)} operations on a list. Can't be * invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.io; /** * Object representing a collection of classes or resources. * * @author koichik * @see TraversalUtil */ public interface Traverser { /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0)