Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for consumed (0.16 sec)

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

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Provides static methods for working with {@code Collection} instances.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
     * <p>This implementation consumes significantly less memory than {@code java.util.LinkedHashSet} or
     * even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

       * characters, even though <a href="https://goo.gl/e7E0In">many of these are accepted in modern
       * URLs</a>. (<a href="https://goo.gl/jfVxXW">If the escaper were to leave these characters
       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        return new SerializedForm<E>(comparator, toArray());
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedSet} instead. This method exists only to hide
       * {@link ImmutableSet#toImmutableSet} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#toImmutableSortedSet}.
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead.
       * This method exists only to hide {@link ImmutableMap#toImmutableMap} from consumers of {@code
       * ImmutableSortedMap}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedMap#toImmutableSortedMap}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          service.shutdown();
        }
        assertThat(holder.count).isEqualTo(ITERATION_COUNT);
        for (int length : completeLengthChecks) {
          // Verify that at max depth, less than one stack frame per submitted task was consumed
          assertThat(length - baseStackDepth).isLessThan(DIRECT_EXECUTIONS_PER_THREAD / 2);
        }
      }
    
      @SuppressWarnings("ObjectToString") // Intended behavior
      public void testToString() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          service.shutdown();
        }
        assertThat(holder.count).isEqualTo(ITERATION_COUNT);
        for (int length : completeLengthChecks) {
          // Verify that at max depth, less than one stack frame per submitted task was consumed
          assertThat(length - baseStackDepth).isLessThan(DIRECT_EXECUTIONS_PER_THREAD / 2);
        }
      }
    
      @SuppressWarnings("ObjectToString") // Intended behavior
      public void testToString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       * @return a view of the supplied iterable that wraps each generated iterator through {@link
       *     Iterators#consumingIterator(Iterator)}; for queues, an iterable that generates iterators
       *     that return and consume the queue's elements in queue order
       * @see Iterators#consumingIterator(Iterator)
       * @since 2.0
       */
      public static <T extends @Nullable Object> Iterable<T> consumingIterable(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    prizes.'
    
      `But who is to give the prizes?' quite a chorus of voices
    asked.
    
      `Why, SHE, of course,' said the Dodo, pointing to Alice with
    one finger; and the whole party at once crowded round her,
    calling out in a confused way, `Prizes! Prizes!'
    
      Alice had no idea what to do, and in despair she put her hand
    in her pocket, and pulled out a box of comfits, (luckily the salt
    water had not got into it), and handed them round as prizes.
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

      final long expireAfterWriteNanos;
    
      /** How long after the last write an entry becomes a candidate for refresh. */
      final long refreshNanos;
    
      /** Entries waiting to be consumed by the removal listener. */
      // TODO(fry): define a new type which creates event objects and automates the clear logic
      final Queue<RemovalNotification<K, V>> removalNotificationQueue;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top