Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 457 for hege (0.02 seconds)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *     ImmutableSortedSet#copyOf(Comparable[])}.</b>
       */
      @DoNotCall("Pass parameters of type Comparable")
      @Deprecated
      // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff.
      public static <Z> ImmutableSortedSet<Z> copyOf(Z[] elements) {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Lists.java

       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>. (Unlike here, there is no risk of overload ambiguity, since the {@code ArrayList}
       * constructors very wisely did not accept varargs.)
       *
       * @param initialArraySize the exact size of the initial backing array for the returned array list
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          // Guava issue 1013: AbstractSet and most JDK set implementations are
          // susceptible to quadratic removeAll performance on lists;
          // use a slightly smarter implementation here
          boolean changed = Sets.removeAllImpl((Set<V>) delegate, c);
          if (changed) {
            int newSize = delegate.size();
            totalSize += newSize - oldSize;
            removeIfEmpty();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * computes) correspond to minimum intervals between subsequent requests, for the specified number
       * of requested permits.
       *
       * Here is an example of storedPermitsToWaitTime: If storedPermits == 10.0, and we want 3 permits,
       * we take them from storedPermits, reducing them to 7.0, and compute the throttling for these as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final void addListener(Listener listener, Executor executor) {
                service1.startAsync();
                delegate.addListener(listener, executor);
              }
    
              // Delegates from here on down
              @Override
              public final Service startAsync() {
                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * that use {@code comparator} to determine the least and greatest elements.
       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
     * rate limit itself.
     *
     * {@snippet :
     * class CrawlingService extends AbstractScheduledService {
     *   private Set<Uri> visited;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/GraphsTest.java

      private static final String E34 = "3-4";
      private static final String E44 = "4-4";
      private static final int NODE_COUNT = 20;
      private static final int EDGE_COUNT = 20;
      // TODO(user): Consider adding both error messages from here and {@link AbstractNetworkTest}
      // in one class (may be a utility class for error messages).
      private static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

        for (int i = 0; i < keyBits; i++) {
          for (int j = 0; j < keyBits; j++) {
            if (j <= i) continue;
            int count = 0;
            int maxCount = 20; // the probability of error here is minuscule
            boolean diff = false;
    
            while (!diff) {
              int delta = (1 << i) | (1 << j);
              int key1 = rand.nextInt();
              // apply delta
              int key2 = key1 ^ delta;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ListenableFuture<Object> input =
            UncheckedThrowingFuture.throwingRuntimeException(new SomeUncheckedException());
    
        // We'd catch only SomeUncheckedException.class here, but then the test won't compile under GWT.
        ListenableFuture<Object> output =
            catching(input, Throwable.class, identity(), directExecutor());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top