Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 461 for enums (0.02 seconds)

  1. android/guava/src/com/google/common/graph/ElementOrder.java

       *       Some methods may have stronger guarantees.
       *   <li>INSERTION: insertion ordering is guaranteed.
       *   <li>SORTED: ordering according to a supplied comparator is guaranteed.
       * </ul>
       */
      public enum Type {
        UNORDERED,
        STABLE,
        INSERTION,
        SORTED
      }
    
      private ElementOrder(Type type, @Nullable Comparator<T> comparator) {
        this.type = checkNotNull(type);
        this.comparator = comparator;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        assertThat(ComparisonChain.start().compareTrueFirst(false, true).result()).isGreaterThan(0);
        assertThat(ComparisonChain.start().compareTrueFirst(false, false).result()).isEqualTo(0);
      }
    
      enum TriState {
        FALSE,
        MAYBE,
        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:05:13 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/graph/ElementOrder.java

       *       Some methods may have stronger guarantees.
       *   <li>INSERTION: insertion ordering is guaranteed.
       *   <li>SORTED: ordering according to a supplied comparator is guaranteed.
       * </ul>
       */
      public enum Type {
        UNORDERED,
        STABLE,
        INSERTION,
        SORTED
      }
    
      private ElementOrder(Type type, @Nullable Comparator<T> comparator) {
        this.type = checkNotNull(type);
        this.comparator = comparator;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

         */
        // CHECKSTYLE_ON: LineLength
        // TODO Move me to Maven Shared Utils
        static class FileSizeFormat {
            enum ScaleUnit {
                BYTE {
                    @Override
                    public long bytes() {
                        return 1L;
                    }
    
                    @Override
                    public String symbol() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         */
        @Deprecated
        ProjectBuildingRequest setResolveVersionRanges(boolean value);
    
        /**
         * The possible merge modes for combining remote repositories.
         */
        enum RepositoryMerging {
    
            /**
             * The repositories declared in the POM have precedence over the repositories specified in the request.
             */
            POM_DOMINANT,
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     * quantiles. All algorithms modify the dataset they are given (the cost of a copy to avoid this
     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @NullUnmarked
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/EqualsTester.java

      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/reflect/Types.java

            ClassOwnership.JVM_BEHAVIOR.getOwnerType(rawType), rawType, arguments);
      }
    
      /** Decides what owner type to use for constructing {@link ParameterizedType} from a raw class. */
      private enum ClassOwnership {
        OWNED_BY_ENCLOSING_CLASS {
          @Override
          @Nullable Class<?> getOwnerType(Class<?> rawType) {
            return rawType.getEnclosingClass();
          }
        },
        LOCAL_CLASS_HAS_NO_OWNER {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param <V> the value type of {@link EnumMap}
         * @param keyType the class object of the key type for this {@literal enum} map
         * @return a new instance of {@link EnumMap}
         * @see EnumMap#EnumMap(Class)
         */
        public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(final Class<K> keyType) {
            return new EnumMap<>(keyType);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
Back to Top