Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 225 for define (0.2 sec)

  1. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    import java.util.Random;
    
    /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
      @Param({"10", "100", "1000", "10000", "100000"})
      int datasetSize;
    
      @Param QuantilesAlgorithm algorithm;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
       * Indicates that a collection has a well-defined ordering of its elements. The ordering may
       * depend on the element values, such as a {@link SortedSet}, or on the insertion ordering, such
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer N4 = 4;
      static final Integer N5 = 5;
      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Enums.java

     * @since 9.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Enums {
    
      private Enums() {}
    
      /**
       * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code
       * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code
       * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}.
       *
       * @since 12.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          assertTaskWrapped(tasks);
          lastMethodCalled = "invokeAllTimeout";
          lastTimeoutInMillis = unit.toMillis(timeout);
          return inline.invokeAll(tasks, timeout, unit);
        }
    
        // Define the invokeAny methods to invoke the first task
        @Override
        public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
            throws ExecutionException, InterruptedException {
          assertTaskWrapped(tasks);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/Escaper.java

     * extend one of these classes. If you find that you are unable to achieve the desired behavior
     * using either of these classes, please contact the Java libraries team for advice.
     *
     * <p>Popular escapers are defined as constants in classes like {@link
     * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
     * your own escapers, use {@link CharEscaperBuilder}, or extend {@code CharEscaper} or {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        assertThat(network.edges()).containsExactly("p", "i", "e").inOrder();
        assertThat(network.nodeOrder()).isEqualTo(unordered());
        assertThat(network.nodes()).containsExactly(4, 1, 3);
      }
    
      // Sorting of user-defined classes
    
      @Test
      public void customComparator() {
        Comparator<NonComparableSuperClass> comparator =
            new Comparator<NonComparableSuperClass>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

    import com.google.common.base.Optional;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /**
     * A builder for constructing instances of {@link MutableValueGraph} or {@link ImmutableValueGraph}
     * with user-defined properties.
     *
     * <p>A {@code ValueGraph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
        private Os() {}
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top