Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 580 for Enum (1.21 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

     */
    @Deprecated(since = "4.0.0")
    public interface Problem {
    
        /**
         * The different severity levels for a problem, in decreasing order.
         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/After.java

    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface After {
    
        /**
         * Type of pointer.
         * @see org.apache.maven.api.Lifecycle.Pointer.Type
         */
        enum Type {
            PROJECT,
            DEPENDENCIES,
            CHILDREN
        }
    
        /**
         * The phase name.
         */
        String phase();
    
        /**
         * The type of this pointer.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/DirectExecutor.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Executor;
    
    /**
     * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute
     * execute}.
     */
    @GwtCompatible
    enum DirectExecutor implements Executor {
      INSTANCE;
    
      @Override
      public void execute(Runnable command) {
        command.run();
      }
    
      @Override
      public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/DirectExecutor.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Executor;
    
    /**
     * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute
     * execute}.
     */
    @GwtCompatible
    enum DirectExecutor implements Executor {
      INSTANCE;
    
      @Override
      public void execute(Runnable command) {
        command.run();
      }
    
      @Override
      public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/LinkMetaData.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.links;
    
    import java.io.Serializable;
    
    public class LinkMetaData implements Serializable {
        public enum Style { Javadoc, Dsldoc }
    
        private final Style style;
        private final String displayName;
        private final String urlFragment;
    
        public LinkMetaData(Style style, String displayName, String urlFragment) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MultimapBuilder.java

            return new TreeMap<>(comparator);
          }
        };
      }
    
      /**
       * Uses an {@link EnumMap} to map keys to value collections.
       *
       * @since 16.0
       */
      public static <K0 extends Enum<K0>> MultimapBuilderWithKeys<K0> enumKeys(Class<K0> keyClass) {
        checkNotNull(keyClass);
        return new MultimapBuilderWithKeys<K0>() {
          @SuppressWarnings("unchecked")
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilter.java

       * probability.
       *
       * <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>}
       * is.
       *
       * <p>It is recommended that the funnel be implemented as a Java enum. This has the benefit of
       * ensuring proper serialization and deserialization, which is important since {@link #equals}
       * also relies on object identity of funnels.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. 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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

    /**
     * Tests for {@link Enums}.
     *
     * @author Steve McKay
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    public class EnumsTest extends TestCase {
    
      private enum TestEnum {
        CHEETO,
        HONDA,
        POODLE,
      }
    
      public void testGetIfPresent() {
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top