- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,482 for collection (0.05 sec)
-
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
assertEquals("1.2.3-20090413X094722-2", ArtifactUtils.toSnapshotVersion("1.2.3-20090413X094722-2")); } /** * Tests that the ordering of the map resembles the ordering of the input collection of artifacts. */ @Test void testArtifactMapByVersionlessIdOrdering() throws Exception { List<Artifact> list = new ArrayList<>(); list.add(newArtifact("b"));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver.filter; import java.util.Collection; import java.util.LinkedHashSet; import java.util.Set; import org.apache.maven.artifact.Artifact; /** * Apply multiple filters, accepting an artifact if at least one of the filters accepts it. * */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
/** * Adds all elements in {@code iterator} to {@code collection}. The iterator will be left * exhausted: its {@code hasNext()} method will return {@code false}. * * @return {@code true} if {@code collection} was modified as a result of this operation */ @CanIgnoreReturnValue public static <T extends @Nullable Object> boolean addAll( Collection<T> addTo, Iterator<? extends T> iterator) { checkNotNull(addTo);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
import java.util.BitSet; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.SortedMap; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.stream.Collector; import java.util.stream.Collectors;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.graph; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NullUnmarked; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
import org.jspecify.annotations.NullUnmarked; /** * Class that contains nested abstract tests for filtered collection views, along with their * implementation helpers. * * @author Louis Wasserman */ /* * TODO(cpovirk): Should all the tests for filtered collections run under GWT, too? Currently, they * don't. */ @NullUnmarked public final class FilteredCollectionsTestUtil {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection.getInputStream(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns a {@link URLConnection} object that represents a connection to the remote object referred to by the URL. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
public Object[] toArray() { /* * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it * can be used with collections that may contain null. This collection is a collection of * non-null Entry objects (Entry objects that might contain null values but are not * themselves null), so we can treat it as a plain `Object[]`. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
import java.util.concurrent.TimeoutException; import org.jspecify.annotations.NullMarked; /** * Testing utilities relating to garbage collection finalization. * * <p>Use this class to test code triggered by finalization, that is, one of the following * actions taken by the java garbage collection system: * * <ul> * <li>invoking the {@code finalize} methods of unreachable objects
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse( "after removeAll(e), a collection should not contain e even "
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0)