Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for top (0.12 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> TOP_UNDER_REGISTRY_SUFFIX =
          ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.");
    
      private static final ImmutableSet<String> TOP_PRIVATE_DOMAIN =
          ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.", "foo.blogspot.com");
    
      private static final ImmutableSet<String> UNDER_TOP_UNDER_REGISTRY_SUFFIX =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        TopKSelector<Integer> top = TopKSelector.least(0);
        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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        TopKSelector<Integer> top = TopKSelector.least(0);
        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);
    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)
  4. android/guava/src/com/google/common/math/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TopKSelector.java

    import java.util.Iterator;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        /**
         * The elements to be returned by future calls to {@code next()}, with the first at the top of
         * the stack.
         */
        final Stack<E> nextElements = new Stack<>();
    
        /**
         * The elements to be returned by future calls to {@code previous()}, with the first at the top
         * of the stack.
         */
        final Stack<E> previousElements = new Stack<>();
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Traverser.java

              Iterator<? extends N> top = horizon.getFirst();
              while (top.hasNext()) {
                N element = top.next();
                // requireNonNull is safe because horizon contains only graph nodes.
                /*
                 * TODO(cpovirk): Replace these two statements with one (`N element =
                 * requireNonNull(top.next())`) once our checker supports it.
                 *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> TOP_UNDER_REGISTRY_SUFFIX =
          ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.");
    
      private static final ImmutableSet<String> TOP_PRIVATE_DOMAIN =
          ImmutableSet.of("google.com", "foo.Co.uk", "foo.ca.us.", "foo.blogspot.com");
    
      private static final ImmutableSet<String> UNDER_TOP_UNDER_REGISTRY_SUFFIX =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
Back to top