- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 160 for snippets (0.31 sec)
-
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) -
android/guava/src/com/google/common/collect/Queues.java
* through the returned queue. * * <p>It is imperative that the user manually synchronize on the returned queue when accessing the * queue's iterator: * * {@snippet : * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create()); * ... * queue.add(element); // Needn't be in synchronized block * ...
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.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 network * MutableNetwork<String, Integer> network = * NetworkBuilder.directed().allowsParallelEdges(true).build(); * flightNetwork.addEdge("LAX", "ATL", 3025);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.4K bytes - Viewed (0) -
tensorflow/api_template_v1.__init__.py
del importlib # Load all plugin libraries from site-packages/tensorflow-plugins if we are # running under pip. # TODO(gunan): Find a better location for this code snippet. from tensorflow.python.framework import load_library as _ll from tensorflow.python.lib.io import file_io as _fi # Get sitepackages directories for the python installation. _site_packages_dirs = []
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 7.5K bytes - Viewed (0)