Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for offerer (0.15 sec)

  1. android/guava/src/com/google/common/base/CharMatcher.java

    import java.util.Arrays;
    import java.util.BitSet;
    
    /**
     * Determines a true or false value for any Java {@code char} value, just as {@link Predicate} does
     * for any {@link Object}. Also offers basic text processing methods based on this function.
     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        for (int i = 0; i < 10; i++) {
          top.offer(i);
        }
        assertThat(top.topK()).isEmpty();
      }
    
      public void testNoElementsOffered() {
        TopKSelector<Integer> top = TopKSelector.least(10);
        assertThat(top.topK()).isEmpty();
      }
    
      public void testOfferedFewerThanK() {
        TopKSelector<Integer> top = TopKSelector.least(10);
        top.offer(3);
        top.offer(5);
        top.offer(2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * even {@code java.util.HashSet}, and places considerably less load on the garbage collector. Like
     * {@code java.util.LinkedHashSet}, it offers insertion-order iteration, with identical behavior.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Comparators.java

          int k, Comparator<? super T> comparator) {
        checkNonnegative(k, "k");
        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
            Collector.Characteristics.UNORDERED);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Preconditions.java

     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
     * similar to those in this class for non-precondition checks.
     *
     * <h3>{@code java.util.Objects.requireNonNull()}</h3>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

    import java.util.Arrays;
    import java.util.BitSet;
    
    /**
     * Determines a true or false value for any Java {@code char} value, just as {@link Predicate} does
     * for any {@link Object}. Also offers basic text processing methods based on this function.
     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     * CacheBuilder} is its <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/Caffeine.html">{@code
     * Caffeine}</a> class. Caffeine offers better performance, more features (including asynchronous
     * loading), and fewer <a
     * href="https://github.com/google/guava/issues?q=is%3Aopen+is%3Aissue+label%3Apackage%3Dcache+label%3Atype%3Ddefect">bugs</a>.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

    import java.util.function.Predicate;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Collection} whose contents will never change, and which offers a few additional
     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
        assertEquals(0, queue.size());
    
        assertTrue(queue.offer("hi"));
        assertEquals(0, queue.size());
    
        assertFalse(queue.remove("hi"));
        assertEquals(0, queue.size());
    
        try {
          queue.element();
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

    import java.util.Spliterators;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Collection} whose contents will never change, and which offers a few additional
     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top