Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 427 for enum (0.49 seconds)

  1. docs/en/docs/tutorial/path-params.md

    ### Create an `Enum` class { #create-an-enum-class }
    
    Import `Enum` and create a sub-class that inherits from `str` and from `Enum`.
    
    By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/path-params.md

    ### Crear una clase `Enum` { #create-an-enum-class }
    
    Importa `Enum` y crea una subclase que herede de `str` y de `Enum`.
    
    Al heredar de `str`, la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá representarlos correctamente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableEnumSet.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(getOnlyElement(set));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java

    package org.gradle.test;
    
    import org.gradle.test.sub2.Sub2Interface;
    
    public class JavaClassWithInnerTypes implements Sub2Interface {
        /**
         * This is an inner enum.
         */
        enum InnerEnum {
        }
    
        /**
         * This is an inner class.
         */
        static class InnerClass {
            InnerEnum getEnumProp() { return null; }
    
            /**
             * This is an inner inner class.
             */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 876 bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/Funnel.java

     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
     * 3: "Enforce the singleton property with a private constructor or an enum type". For example:
     *
     * {@snippet :
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

     *
     */
    public interface ExecutionEvent {
    
        /**
         * The possible types of execution events.
         *
         * Note: do not modify this enum, or, make sure that this enum and
         * {@link org.apache.maven.api.EventType} have same elements in same order.
         */
        enum Type {
            ProjectDiscoveryStarted,
            SessionStarted,
            SessionEnded,
            ProjectSkipped,
            ProjectStarted,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/JavaEnum.java

    package org.gradle.test;
    
    public enum JavaEnum {
        A, B
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 60 bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/common/FlakyTestStrategy.kt

    package common
    
    enum class FlakyTestStrategy {
        INCLUDE,
        EXCLUDE,
        ONLY,
        ;
    
        override fun toString() = name.lowercase()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 139 bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      // A static mapping from an Enum type to its set of LockGraphNodes.
      private static final ConcurrentMap<
              Class<? extends Enum<?>>, Map<? extends Enum<?>, LockGraphNode>>
          lockGraphNodesPerType = new MapMaker().weakKeys().makeMap();
    
      /** Creates a {@code CycleDetectingLockFactory.WithExplicitOrdering<E>}. */
      public static <E extends Enum<E>> WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        List<String> temp = new ArrayList<>();
        for (Feature<?> feature : features) {
          Object featureAsObject = feature; // to work around bogus JDK warning
          if (featureAsObject instanceof Enum) {
            Enum<?> f = (Enum<?>) featureAsObject;
            temp.add(f.getDeclaringClass().getSimpleName() + "." + feature);
          } else {
            temp.add(feature.toString());
          }
        }
        return temp.toString();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
Back to Top