- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 65 for buildOrThrow (0.08 sec)
-
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* builder. * * @throws IllegalArgumentException if duplicate keys were added */ public ImmutableClassToInstanceMap<B> build() { ImmutableMap<Class<? extends B>, B> map = mapBuilder.buildOrThrow(); if (map.isEmpty()) { return of(); } else { return new ImmutableClassToInstanceMap<>(map); } } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
if (!set.isEmpty()) { builder.put(key, set); size += set.size(); } } return new ImmutableSetMultimap<>(builder.buildOrThrow(), size, valueComparator); } /** Creates an ImmutableSetMultimap from a map to builders. */ static <K, V> ImmutableSetMultimap<K, V> fromMapBuilderEntries(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 26.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
} @Override public ImmutableSortedMap<K, V> build() { return buildOrThrow(); } @Override public ImmutableSortedMap<K, V> buildOrThrow() { SortedMap<K, V> delegate = newModifiableDelegate(comparator); for (Entry<? extends K, ? extends V> entry : entries) { putEntryWithChecks(delegate, entry);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
for (N node : graph.nodes()) { nodeConnections.put(node, connectionsOf(graph, node)); } return nodeConnections.buildOrThrow(); } @SuppressWarnings("unchecked") private static <N> GraphConnections<N, Presence> connectionsOf(Graph<N> graph, N node) { Function<N, Presence> edgeValueFn =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* builder. * * @throws IllegalArgumentException if duplicate keys were added */ public ImmutableClassToInstanceMap<B> build() { ImmutableMap<Class<? extends B>, B> map = mapBuilder.buildOrThrow(); if (map.isEmpty()) { return of(); } else { return new ImmutableClassToInstanceMap<>(map); } } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder(); for (N node : graph.nodes()) { nodeConnections.put(node, connectionsOf(graph, node)); } return nodeConnections.buildOrThrow(); } private static <N, V> GraphConnections<N, V> connectionsOf(ValueGraph<N, V> graph, N node) { Function<N, V> successorNodeToValueFn = (N successorNode) ->
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder(); for (N node : graph.nodes()) { nodeConnections.put(node, connectionsOf(graph, node)); } return nodeConnections.buildOrThrow(); } private static <N, V> GraphConnections<N, V> connectionsOf(ValueGraph<N, V> graph, N node) { Function<N, V> successorNodeToValueFn = (N successorNode) ->
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
if (method.isAnnotationPresent(Generates.class)) { builder.put(method.getReturnType(), method); } } GENERATORS = builder.buildOrThrow(); } private static final ImmutableMap<Class<?>, Method> EMPTY_GENERATORS; static { ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
if (method.isAnnotationPresent(Generates.class)) { builder.put(method.getReturnType(), method); } } GENERATORS = builder.buildOrThrow(); } private static final ImmutableMap<Class<?>, Method> EMPTY_GENERATORS; static { ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0)