Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 461 for enums (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

     *
     * @author Mike Bostock
     */
    @J2ktIncompatible // EnumHashBiMap
    @GwtCompatible
    @NullUnmarked
    public class EnumHashBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
      @AndroidIncompatible // test-suite builders
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertNotNull(WitnessRegistration.WitnessRegistrationState.EXPIRED);
        }
    
        @Test
        void testEnumToStringConversions() {
            // Test that enum toString methods work properly
            assertEquals("CLUSTER_WITNESS", WitnessServiceType.CLUSTER_WITNESS.toString());
            assertEquals("FILE_SERVER_WITNESS", WitnessServiceType.FILE_SERVER_WITNESS.toString());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

    /**
     * Optional features of classes derived from {@code Multimap}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultimapFeature implements Feature<Multimap> {
      VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE;
    
      private final Set<Feature<? super Multimap>> implied;
    
      MultimapFeature(Feature<? super Multimap>... implied) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

    /**
     * Optional features of classes derived from {@code List}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum ListFeature implements Feature<List> {
      SUPPORTS_SET,
      SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD),
      SUPPORTS_REMOVE_WITH_INDEX(CollectionFeature.SUPPORTS_REMOVE),
    
      GENERAL_PURPOSE(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

                    "count",
                    (ms, o) -> {
                      int unused = ms.count(o);
                    },
                    Math::log)));
      }
    
      /** All the ways to create an ImmutableMultiset. */
      enum ConstructionPathway implements Construction<Multiset<Object>> {
        COPY_OF_COLLECTION {
          @Override
          public ImmutableMultiset<Object> create(List<?> keys) {
            return ImmutableMultiset.copyOf(keys);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

         * A link from a phase to another phase, consisting of a type which can be
         * {@link Kind#BEFORE} or {@link Kind#AFTER}, and a {@link Pointer} to
         * another phase.
         */
        interface Link {
            enum Kind {
                BEFORE,
                AFTER
            }
    
            /**
             * Returns the kind of link (BEFORE or AFTER).
             *
             * @return the link kind
             */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/BoundType.java

     * ("open"). If a range is unbounded on a side, it is neither open nor closed on that side; the
     * bound simply does not exist.
     *
     * @since 10.0
     */
    @GwtCompatible
    public enum BoundType {
      /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */
      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
      BoundType(boolean inclusive) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/witness/WitnessVersion.java

    package jcifs.internal.witness;
    
    /**
     * Enumeration of supported SMB Witness Protocol versions as defined in MS-SWN specification.
     * Each version corresponds to different Windows Server releases and capabilities.
     */
    public enum WitnessVersion {
        /**
         * Witness Protocol Version 1 - Windows Server 2012
         */
        VERSION_1(0x00010001),
    
        /**
         * Witness Protocol Version 2 - Windows Server 2012 R2 and later
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top