- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,314 for collectionOf (0.07 sec)
-
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.collection.EnumerationIterator.iterable; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import java.util.Enumeration;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.util.Collection; import java.util.List; import org.apache.maven.api.ArtifactCoordinates; import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.Service; import org.apache.maven.api.Session;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
} /** Returns an immutable copy of this. */ internal fun <T> List<T>.toImmutableList(): List<T> { return Collections.unmodifiableList(toMutableList()) } /** Returns an immutable list containing [elements]. */ @SafeVarargs internal fun <T> immutableListOf(vararg elements: T): List<T> { return Collections.unmodifiableList(listOf(*elements.clone())) } /** Closes this, ignoring any checked exceptions. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
getSubjectGenerator().getInnerGenerator()) .sampleValues(); } @Override protected Collection<Entry<K, V>> actualContents() { return multimap.entries(); } // TODO: dispose of this once collection is encapsulated. @Override @CanIgnoreReturnValue protected M resetContainer(M newContents) { multimap = super.resetContainer(newContents);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
import com.google.common.collect.Synchronized.SynchronizedCollection; import com.google.common.collect.Synchronized.SynchronizedSet; import com.google.common.testing.SerializableTester; import java.io.Serializable; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java
import static com.google.common.graph.GraphConstants.EXPECTED_DEGREE; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.common.collect.ImmutableBiMap; import java.util.Collections; import java.util.Map; import java.util.Set; /** * An implementation of {@link NetworkConnections} for undirected networks. * * @author James Sexton * @param <N> Node parameter type
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
public static ImmutableDoubleArray copyOf(Collection<Double> values) { return values.isEmpty() ? EMPTY : new ImmutableDoubleArray(Doubles.toArray(values)); } /** * Returns an immutable array containing the given values, in order. * * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 23K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* * @return The problems that caused this exception, never {@code null}. */ public List<ModelProblem> getProblems() { if (result == null) { return Collections.emptyList(); } return Collections.unmodifiableList(result.getProblems()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.Map; @GwtCompatible(emulated = true) abstract class ArrayListMultimapGwtSerializationDependencies<K, V> extends AbstractListMultimap<K, V> { ArrayListMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) { super(map); } K dummyKey; V dummyValue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 15 19:08:05 UTC 2017 - 1012 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@SuppressWarnings("unchecked") V[] valuesArray = (V[]) elements; // Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length); // Create a copy of that, with the desired value for each value Collection<Entry<K, V>> entries = new ArrayList<>(elements.length); int i = 0; for (Entry<K, V> entry : originalEntries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0)