Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 536 for enum (0.02 sec)

  1. 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();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    ### Crear una clase `Enum`
    
    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.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            } else {
              fail(
                  rootLocaleFormat(
                      "Feature enum %s contains a class named "
                          + "'Require' but it is not an annotation.",
                      featureEnumClass));
            }
            return;
          }
        }
        fail(
            rootLocaleFormat(
                "Feature enum %s should contain an annotation named 'Require'.", featureEnumClass));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. docs/id/docs/tutorial/path-params.md

    Jika ada *operasi path* yang menerima *parameter path*, tetapi anda ingin nilai valid *parameter path* sudah terdefinisi, anda bisa menggunakan standar Python <abbr title="Enumeration">`Enum`</abbr>.
    
    ### Membuat class `Enum`
    
    Import `Enum` dan buat *sub-class* warisan dari `str` dan `Enum`.
    
    Dengan warisan dari `str` dokumen API mengetahui nilai nya harus berjenis `string` supaya bisa digunakan dengan benar.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

         * Provides common functionality for all extensible enum implementations.
         */
        private static class DefaultExtensibleEnum implements ExtensibleEnum {
    
            private final String id;
    
            /**
             * Creates a new DefaultExtensibleEnum with the specified ID.
             *
             * @param id the identifier for this enum value, must not be null
             */
            DefaultExtensibleEnum(String id) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/path-params.md

    ### Створення класу `Enum`
    
    Імпортуйте `Enum` і створіть підклас, що наслідується від `str` та `Enum`.
    
    Наслідуючи від `str`, документація API зможе визначити, що значення повинні бути типу `string`, і правильно їх відобразить.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java

    import java.util.Iterator;
    
    @GwtCompatible
    @J2ktIncompatible
    public final class EnumMultiset<E extends Enum<E>> extends AbstractMapBasedMultiset<E>
        implements Serializable {
      public static <E extends Enum<E>> EnumMultiset<E> create(Class<E> type) {
        return new EnumMultiset<>(new EnumMap<E, Count>(type));
      }
    
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        @Keep // used reflectively by testEquals
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/path-params.md

    ### Bir `Enum` Sınıfı Oluşturalım
    
    `Enum` sınıfını projemize dahil edip `str` ile `Enum` sınıflarını miras alan bir alt sınıf yaratalım.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top