- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 160 for Snippet (0.09 sec)
-
guava/src/com/google/common/io/BaseEncoding.java
* href="http://tools.ietf.org/html/rfc4648">RFC 4648</a>. For example, the expression: * * {@snippet : * BaseEncoding.base32().encode("foo".getBytes(US_ASCII)) * } * * <p>returns the string {@code "MZXW6==="}, and * * {@snippet : * byte[] decoded = BaseEncoding.base32().decode("MZXW6==="); * } * * <p>...returns the ASCII bytes of the string {@code "foo"}. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * {@snippet : * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>()); * ... * synchronized (set) { * // Must be in the synchronized block * Iterator<E> it = set.iterator(); * while (it.hasNext()) { * foo(it.next()); * } * } * } * * <p>or: * * {@snippet :Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian * product</a>" of the lists. For example: * * {@snippet : * Lists.cartesianProduct(ImmutableList.of( * ImmutableList.of(1, 2), * ImmutableList.of("A", "B", "C"))) * } * * <p>returns a list containing six lists in the following order: *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* its {@code close} method. You could use a finalizer to accomplish this, but that has a * number of well-known problems. Here is how you might use this class instead: * * {@snippet : * public class MyServer implements Closeable { * private static final FinalizableReferenceQueue frq = new FinalizableReferenceQueue(); * // You might also share this between several objects. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraph.java
* create an instance of one of the built-in implementations of {@code ValueGraph}, use the {@link * ValueGraphBuilder} class: * * {@snippet : * MutableValueGraph<Integer, Double> graph = ValueGraphBuilder.directed().build(); * } * * <p>{@link ValueGraphBuilder#build()} returns an instance of {@link MutableValueGraph}, which is aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16K bytes - Viewed (0) -
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 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* annotated by {@link TestSubtype}. * * <p>These declaration methods rely on Java static type checking to make sure what we want to * assert as subtypes are really subtypes according to javac. For example: * * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true) * public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
BaseGraph<N> delegate() { return backingGraph; } /** * A builder for creating {@link ImmutableGraph} instances, especially {@code static final} * graphs. Example: * * {@snippet : * static final ImmutableGraph<Country> COUNTRY_ADJACENCY_GRAPH = * GraphBuilder.undirected() * .<Country>immutable() * .putEdge(FRANCE, GERMANY) * .putEdge(FRANCE, BELGIUM)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* to be closed asynchronously <b>after</b> the returned {@code Future} is done: the future * completes before closing starts, rather than once it has finished. * * {@snippet : * FluentFuture<UserName> userName = * ClosingFuture.submit( * closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor), * executor)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
* will resolve the type parameters of the method or constructor in the context of the owner type, * which may be a subtype of the declaring class. For example: * * {@snippet : * Method getMethod = List.class.getMethod("get", int.class); * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0)