- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 160 for Snippet (0.31 sec)
-
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* returns a <b>(live) unmodifiable view</b>; see <a * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external * documentation</a> for details. * * <p>Examples of use: * * {@snippet : * // Building a mutable value graph * MutableValueGraph<String, Double> graph = * ValueGraphBuilder.undirected().allowsSelfLoops(true).build(); * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graph.java
* <p>The implementation classes that {@code common.graph} provides are not public, by design. To * create an instance of one of the built-in implementations of {@code Graph}, use the {@link * GraphBuilder} class: * * {@snippet : * MutableGraph<Integer> graph = GraphBuilder.undirected().build(); * } * * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtypeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 13.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graph.java
* <p>The implementation classes that {@code common.graph} provides are not public, by design. To * create an instance of one of the built-in implementations of {@code Graph}, use the {@link * GraphBuilder} class: * * {@snippet : * MutableGraph<Integer> graph = GraphBuilder.undirected().build(); * } * * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtypeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 13.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
import org.jspecify.annotations.Nullable; /** * Used to represent the order of elements in a data structure that supports different options for * iteration order guarantees. * * <p>Example usage: * * {@snippet : * MutableGraph<Integer> graph = * GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); * } * * @author Joshua O'Madadhain * @since 20.0 */ @Beta @ImmutableRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
import org.jspecify.annotations.Nullable; /** * Used to represent the order of elements in a data structure that supports different options for * iteration order guarantees. * * <p>Example usage: * * {@snippet : * MutableGraph<Integer> graph = * GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); * } * * @author Joshua O'Madadhain * @since 20.0 */ @Beta @ImmutableRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
} /** * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final} * graphs. Example: * * {@snippet : * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH = * ValueGraphBuilder.undirected() * .<City, Distance>immutable() * .putEdgeValue(PARIS, BERLIN, kilometers(1060))Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* except that they are always enabled. These methods should be used instead of Java assertions * whenever there is a chance the check may fail "in real life". Example: * * {@snippet : * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID, * "Unexpected bill status: %s", bill.status()); * }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* Maps#asMap(Set, Function)}. * * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example: * * {@snippet : * import static com.google.common.collect.ImmutableMap.toImmutableMap; * ... * ImmutableMap<Color, String> colorNames = * allColors.stream().collect(toImmutableMap(c -> c, c -> c.toString()));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* Maps#asMap(Set, Function)}. * * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example: * * {@snippet : * import static com.google.common.collect.ImmutableMap.toImmutableMap; * ... * ImmutableMap<Color, String> colorNames = * allColors.stream().collect(toImmutableMap(c -> c, c -> c.toString()));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * } * * @author Ben YuRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0)