Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 281 for hver (0.24 sec)

  1. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father()));
     * }</pre>
     *
     * <p>Graph algorithms that need additional capabilities (accessing both predecessors and
     * successors, iterating over the edges, etc.) should declare their input to be of a type that
     * provides those capabilities, such as {@link Graph}, {@link ValueGraph}, or {@link Network}.
     *
     * <h3>Additional documentation</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.leftChild(), node.rightChild()));
     * }</pre>
     *
     * <p>Graph algorithms that need additional capabilities (accessing both predecessors and
     * successors, iterating over the edges, etc.) should declare their input to be of a type that
     * provides those capabilities, such as {@link Graph}, {@link ValueGraph}, or {@link Network}.
     *
     * <h3>Additional documentation</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          return new WrappedCallable<T>(callable);
        }
    
        @Override
        protected Runnable wrapTask(Runnable command) {
          return new WrappedRunnable(command);
        }
      }
    
      // TODO: If this test can ever depend on Mockito or the like, use it instead.
      private static final class MockExecutor implements ExecutorService {
        private String lastMethodCalled = "";
        private long lastTimeoutInMillis = -1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        out.close();
      }
    
      @Override
      public synchronized void flush() throws IOException {
        out.flush();
      }
    
      /**
       * Checks if writing {@code len} bytes would go over threshold, and switches to file buffering if
       * so.
       */
      @GuardedBy("this")
      private void update(int len) throws IOException {
        if (memory != null && (memory.getCount() + len > fileThreshold)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /*
       * TODO: if we're testing a list, we could check indexOf(). (Doing it in
       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
      protected void expectMissing(E... elements) {
        for (E element : elements) {
          assertFalse("Should not contain " + element, actualContents().contains(element));
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          backingMap.remove(element);
        }
    
        frequency.add(-numberRemoved);
        size -= numberRemoved;
        return oldCount;
      }
    
      // Roughly a 33% performance improvement over AbstractMultiset.setCount().
      @CanIgnoreReturnValue
      @Override
      public int setCount(@ParametricNullness E element, int count) {
        checkNonnegative(count, "count");
    
        Count existingCounter;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ContiguousSet.java

     * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * specified is included. To create a copy of a {@code SortedSet} that preserves the comparator,
       * call {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the union of two sets. The returned set contains all
       * elements that are contained in either backing set. Iterating over the returned set iterates
       * first over all the elements of {@code set1}, then over each element of {@code set2}, in order,
       * that is not contained in {@code set1}.
       *
       * <p>Results are undefined if {@code set1} and {@code set2} are sets based on different
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top