- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,200 for collections (0.23 sec)
-
guava-tests/test/com/google/common/collect/ComparatorsTest.java
assertTrue(Comparators.isInOrder(asList(0, 0, 3, 3), Ordering.natural())); assertTrue(Comparators.isInOrder(asList(0, 3), Ordering.natural())); assertTrue(Comparators.isInOrder(Collections.singleton(1), Ordering.natural())); assertTrue(Comparators.isInOrder(Collections.<Integer>emptyList(), Ordering.natural())); } public void testIsInStrictOrder() { assertFalse(Comparators.isInStrictOrder(asList(5, 3, 0, 9), Ordering.natural()));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 6.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
package org.apache.maven.internal.impl; import java.util.Collections; import java.util.List; import org.apache.maven.api.Lifecycle; import org.apache.maven.api.model.Plugin; import org.apache.maven.api.model.PluginExecution; public class Lifecycles { static Lifecycle.Phase phase(String name) { return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java
settingsDecrypter, eventSpyDispatcher, information, defaultTypeRegistry, versionScheme, Collections.emptyMap(), Collections.emptyMap()); MavenExecutionRequest request = new DefaultMavenExecutionRequest(); request.setLocalRepository(getLocalRepository());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Mar 27 14:46:12 GMT 2024 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Set; import javax.annotation.CheckForNull;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* limitations under the License. */ package com.google.common.collect.testing; import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testToArrayEmpty() { Iterator<String> iterator = Collections.<String>emptyList().iterator(); String[] array = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(new String[0], array)); } @GwtIncompatible // Iterators.toArray(Iterator, Class) public void testToArraySingleton() { Iterator<String> iterator = Collections.singletonList("a").iterator();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
Collection<V> collection) { if (collection instanceof SortedSet) { return Collections.unmodifiableSortedSet((SortedSet<V>) collection); } else if (collection instanceof Set) { return Collections.unmodifiableSet((Set<V>) collection); } else if (collection instanceof List) { return Collections.unmodifiableList((List<V>) collection); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 86.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
setPluginArtifacts(Collections.unmodifiableSet(project.getPluginArtifacts())); } if (project.getReportArtifacts() != null) { setReportArtifacts(Collections.unmodifiableSet(project.getReportArtifacts())); } if (project.getExtensionArtifacts() != null) { setExtensionArtifacts(Collections.unmodifiableSet(project.getExtensionArtifacts()));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java
assertThat(network.edges()).isEmpty(); // no edges can remain if there's no nodes AbstractNetworkTest.validateNetwork(network); Collections.shuffle(nodeList, gen); for (Integer node : nodeList) { assertThat(network.addNode(node)).isTrue(); } Collections.shuffle(edgeList, gen); for (Object edge : edgeList) { assertThat( network.addEdge(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 10 19:42:18 GMT 2024 - 4.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java
* under the License. */ package org.apache.maven.internal.impl; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.stream.Collectors; import org.apache.maven.RepositoryUtils; import org.apache.maven.api.Artifact; import org.apache.maven.api.Dependency;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5.2K bytes - Viewed (0)