Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 375 for enums (1.71 sec)

  1. guava-tests/test/com/google/common/base/EquivalenceTest.java

        new EqualsTester()
            .addEqualityGroup(Equivalence.equals().pairwise(), Equivalence.equals().pairwise())
            .addEqualityGroup(Equivalence.identity().pairwise())
            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
          return input.length();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

                    deltas[keyIndex] -= delta;
                  }
                  break;
                }
            }
          }
          return deltas;
        }
    
        private enum Operation {
          ADD,
          SET_COUNT,
          SET_COUNT_IF,
          REMOVE,
          REMOVE_EXACTLY,
          ;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *             or if after unwrapping, the parameter values cannot be converted to the corresponding formal parameter types,
         *             or if the constructor is related to an enum type
         * @see Constructor#newInstance(Object[])
         */
        public static <T> T newInstance(final Class<T> clazz) throws InstantiationRuntimeException, IllegalAccessRuntimeException {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Service.java

       * <p>The ordering of the {@link State} enum is defined such that if there is a state transition
       * from {@code A -> B} then {@code A.compareTo(B) < 0}. N.B. The converse is not true, i.e. if
       * {@code A.compareTo(B) < 0} then there is <b>not</b> guaranteed to be a valid state transition
       * {@code A -> B}.
       *
       * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State})
       */
      enum State {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Booleans.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. 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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Platform.java

       * that reclamation becomes important.
       */
      @J2ktIncompatible
      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker.weakKeys();
      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
        return e.getDeclaringClass();
      }
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/query-params.md

    En este caso, hay 3 parámetros de query:
    
    * `needy`, un `str` requerido.
    * `skip`, un `int` con un valor por defecto de `0`.
    * `limit`, un `int` opcional.
    
    /// tip | Consejo
    
    También podrías usar `Enum`s de la misma manera que con [Parámetros de Path](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top