Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for traversers (0.22 sec)

  1. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  2. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * multimap, and vice versa. The entries set does not support the {@code add} or {@code addAll}
       * operations.
       *
       * <p>The iterator generated by the returned set traverses the entries in the order they were
       * added to the multimap.
       *
       * <p>Each entry is an immutable snapshot of a key-value mapping in the multimap, taken at the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. android/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  8. android/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 or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            keyIterator.remove();
          }
          totalSize--;
        }
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator generated by the returned collection traverses the values for one key, followed
       * by the values of a second key, and so on.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

       * at {@code node} and ending at {@code v}. This implementation includes {@code node} as the first
       * element in the result.
       *
       * <p>If needed, the {@link Traverser} class provides more flexible and lighter-weight ways to
       * list the nodes reachable from a given node or nodes. See the <a
       * href="https://github.com/google/guava/wiki/GraphsExplained#Graph-traversal">"Graph traversal"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top