Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 568 for enum (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * Holds data relevant for an execution event.
     *
     */
    public interface ExecutionEvent {
    
        /**
         * The possible types of execution events.
         */
        enum Type {
            ProjectDiscoveryStarted,
            SessionStarted,
            SessionEnded,
            ProjectSkipped,
            ProjectStarted,
            ProjectSucceeded,
            ProjectFailed,
            MojoSkipped,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import java.util.Locale;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Service} */
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
        // List every valid (direct) state transition.
        assertLessThan(NEW, STARTING);
        assertLessThan(NEW, TERMINATED);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 934 bytes
    - Viewed (0)
  4. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertEquals(value, generator.generateFresh(type));
        assertEquals(value, generator.generateFresh(type));
      }
    
      private enum EmptyEnum {}
    
      private enum OneConstantEnum {
        CONSTANT1
      }
    
      private enum TwoConstantEnum {
        CONSTANT1,
        CONSTANT2
      }
    
      private static void assertCanGenerateOnly(TypeToken<?> type, Object expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  6. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Config.java

    public @interface Config {
    
        Source source() default Source.USER_PROPERTIES;
    
        String type() default "java.lang.String";
    
        String defaultValue() default "";
    
        boolean readOnly() default false;
    
        enum Source {
            USER_PROPERTIES,
            MODEL
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

     * that exhibits the problem.
     *
     */
    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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * @since 16.0
       */
      public static <K0 extends Enum<K0>> MultimapBuilderWithKeys<K0> enumKeys(Class<K0> keyClass) {
        checkNotNull(keyClass);
        return new MultimapBuilderWithKeys<K0>() {
          @SuppressWarnings("unchecked")
          @Override
          <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            // K must actually be K0, since enums are effectively final
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

     *
     * @since NEXT (but since 21.0 in the JRE flavor)
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    @ElementTypesAreNonnullByDefault
    public enum RecursiveDeleteOption {
      /**
       * Specifies that the recursive delete should not throw an exception when it can't be guaranteed
       * that it can be done securely, without vulnerability to race conditions (i.e. when the file
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top