- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fly (0.28 sec)
-
android/guava/src/com/google/common/graph/Traverser.java
* while iteration is in progress. * * <p>The returned {@code Iterable} can be iterated over multiple times. Every iterator will * compute its next element on the fly. It is thus possible to limit the traversal to a certain * number of nodes as follows: * * <pre>{@code * Iterables.limit(Traverser.forGraph(graph).breadthFirst(node), maxNumberOfNodes); * }</pre> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue May 30 20:12:45 GMT 2023 - 19.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
assertThrows( IllegalArgumentException.class, () -> Traverser.forGraph(createDirectedGraph()).breadthFirst('a')); } /** * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes. */ @Test public void forGraph_breadthFirstIterable_emptyGraph() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 47.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
* lock.lock(); * } * operation(); * for (Lock lock : locks) { * lock.unlock(); * } * * If we only held the int[] stripes, translating it on the fly to L's, the original locks might * be garbage collected after locking them, ending up in a huge mess. */ @SuppressWarnings("unchecked") // we carefully replaced all keys with their respective L's
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
assertThrows( IllegalArgumentException.class, () -> Traverser.forGraph(createDirectedGraph()).breadthFirst('a')); } /** * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes. */ @Test public void forGraph_breadthFirstIterable_emptyGraph() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 47.5K bytes - Viewed (0)