- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,482 for collection (0.05 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} else { metadataMap.put(metadata.getKey(), metadata); } } @Override public Collection<ArtifactMetadata> getMetadataList() { if (metadataMap == null) { return Collections.emptyList(); } return Collections.unmodifiableCollection(metadataMap.values()); } // ----------------------------------------------------------------------Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
*/ public static <N> MutableGraph<N> inducedSubgraph(Graph<N> graph, Iterable<? extends N> nodes) { MutableGraph<N> subgraph = (nodes instanceof Collection) ? GraphBuilder.from(graph).expectedNodeCount(((Collection) nodes).size()).build() : GraphBuilder.from(graph).build(); for (N node : nodes) { subgraph.addNode(node); } for (N node : subgraph.nodes()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
*/ public static <N> MutableGraph<N> inducedSubgraph(Graph<N> graph, Iterable<? extends N> nodes) { MutableGraph<N> subgraph = (nodes instanceof Collection) ? GraphBuilder.from(graph).expectedNodeCount(((Collection) nodes).size()).build() : GraphBuilder.from(graph).build(); for (N node : nodes) { subgraph.addNode(node); } for (N node : subgraph.nodes()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
README.md
[](https://www.bestpractices.dev/projects/7197) Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, primitives, strings, and more! It is widely used on most Java projects within Google, and widely used by many other companies as well.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 05 15:30:14 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Map<NonSerializableClass, String> map = RegularImmutableMap.create(1, new Object[] {new NonSerializableClass(), "value"}); Collection<String> collection = map.values(); LenientSerializableTester.reserializeAndAssertElementsEqual(collection); } // TODO: Re-enable this test after moving to new serialization format in ImmutableMap. @J2ktIncompatible @GwtIncompatible // SerializableTesterRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java
* throughout the Maven build process. * <p> * Example usage: * <pre> * public class CustomLanguageProvider implements LanguageProvider { * public Collection<Language> provides() { * return Collections.singleton(language("kotlin")); * } * } * </pre> * * @see org.apache.maven.api.Language * @see org.apache.maven.api.spi.ExtensibleEnumProvider * @since 4.0.0 */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetQueryView.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.entity; import java.util.Collection; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; import java.util.ResourceBundle; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun <T> List<T>.toImmutableList(): List<T> = when { this.isEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) // Collection.toArray returns Object[] (covariant). // It is faster than creating real T[] via reflection (Arrays.copyOf). else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T> } /** Returns an immutable list containing [elements]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
import com.google.common.collect.ListMultimap; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.Collection; import java.util.List; import java.util.Map.Entry; import org.junit.Ignore; /** * Testers for {@link ListMultimap#remove(Object, Object)}. * * @author Louis Wasserman */ @GwtCompatibleRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
@Override 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: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0)