- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for Traverser (0.06 seconds)
-
android/guava/src/com/google/common/graph/Traverser.java
+ " GraphBuilder)") public abstract class Traverser<N> { private final SuccessorsFunction<N> successorFunction; private Traverser(SuccessorsFunction<N> successorFunction) { this.successorFunction = checkNotNull(successorFunction); } /** * Creates a new traverser for the given general {@code graph}. * * <p>Traversers created using this method are guaranteed to visit each node reachable from theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 19.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
*/ private static <N> Iterable<N> getReachableNodes( Graph<N> graph, N node, TransitiveClosureSelfLoopStrategy strategy) { Traverser<N> traverser = Traverser.forGraph(graph); switch (strategy) { case ADD_SELF_LOOPS_ALWAYS: // always include 'node' return traverser.breadthFirst(node); case ADD_SELF_LOOPS_FOR_CYCLES: // include 'node' iff there's an incident cycle
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
return checkNotNull(iterable); } /** * Returns a fluent iterable that combines two iterables. The returned iterable has an iterator * that traverses the elements in {@code a}, followed by the elements in {@code b}. The source * iterators are not polled until necessary. * * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
return checkNotNull(iterable); } /** * Returns a fluent iterable that combines two iterables. The returned iterable has an iterator * that traverses the elements in {@code a}, followed by the elements in {@code b}. The source * iterators are not polled until necessary. * * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* * <p>This class and its iterator implement all of the optional methods of the {@link * Collection} and {@link Iterator} interfaces. The Iterator provided in method {@link #iterator()} * is not guaranteed to traverse the elements of the MonitorBasedPriorityBlockingQueue in * any particular order. If you need ordered traversal, consider using {@code * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some orCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
return cycle(Lists.newArrayList(elements)); } /** * Combines two iterables into a single iterable. The returned iterable has an iterator that * traverses the elements in {@code a}, followed by the elements in {@code b}. The source * iterators are not polled until necessary. * * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/StandardTable.java
return backingMap.isEmpty(); } @Override public void clear() { backingMap.clear(); } } /** * {@inheritDoc} * * <p>The set's iterator traverses the mappings for the first row, the mappings for the second * row, and so on. * * <p>Each cell is an immutable snapshot of a row key / column key / value mapping, taken at the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Network.java
* @since 24.0 */ Set<E> incidentEdges(N node); /** * Returns a live view of all edges in this network which can be traversed in the direction (if * any) of the edge to end at {@code node}. * * <p>In a directed network, an incoming edge's {@link EndpointPair#target()} equals {@code node}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 17.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
} /** * Returns an unmodifiable set of all row key / column key / value triplets. Changes to the table * will update the returned set. * * <p>The returned set's iterator traverses the mappings with the first row key, the mappings with * the second row key, and so on. * * <p>The value in the returned cells may change if the table subsequently changes. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
} catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } private void removeLeftoverComments(Document document) { document.traverse(new NodeVisitor() { @Override public void head(Node node, int depth) { if (node.nodeName().equals("#comment")) { node.remove(); }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 03 01:59:51 GMT 2026 - 11.3K bytes - Click Count (0)