- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for Traverser (0.12 sec)
-
android/guava/src/com/google/common/graph/Traverser.java
@ElementTypesAreNonnullByDefault 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 the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 30 20:12:45 UTC 2023 - 19.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/Traverser.java
@ElementTypesAreNonnullByDefault 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 the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 30 20:12:45 UTC 2023 - 19.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
* @see URLUtil#toCanonicalProtocol(String) * @see ClassTraversalUtil * @see ResourceTraversalUtil */ public abstract class TraversalUtil { /** 空の{@link Traverser}の配列です。 */ protected static final Traverser[] EMPTY_ARRAY = new Traverser[0]; private static final Logger logger = Logger.getLogger(TraversalUtil.class); /** URLのプロトコルをキー、{@link TraverserFactory}を値とするマッピングです。 */
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb"); assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db"); } @Test public void forGraph_breadthFirst_multiGraph() { Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb"); assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db"); } @Test public void forGraph_breadthFirst_multiGraph() { Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 47.5K bytes - Viewed (0) -
guava/src/com/google/common/io/MoreFiles.java
throw e.getCause(); } } /** * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser * starts from a {@link Path} and will return all files and directories it encounters. * * <p>The returned traverser attempts to avoid following symbolic links to directories. However, * the traverser cannot guarantee that it will not follow symbolic links to directories as it is
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 34.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
int dotIndex = fileName.lastIndexOf('.'); return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex); } /** * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser * starts from a {@link File} and will return all files and directories it encounters. * * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
int dotIndex = fileName.lastIndexOf('.'); return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex); } /** * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser * starts from a {@link File} and will return all files and directories it encounters. * * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
*/ public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) { checkArgument(graph.nodes().contains(node), NODE_NOT_IN_GRAPH, node); return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node)); } // Graph mutation methods // Graph view methods /** * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
*/ public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) { checkArgument(graph.nodes().contains(node), NODE_NOT_IN_GRAPH, node); return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node)); } // Graph mutation methods // Graph view methods /** * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 21.7K bytes - Viewed (0)