Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 461 for enums (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

          this.validator = validator;
        }
      }
    
      private enum Result {
        SUCCESS(immediateFuture(new Object())),
        FAILURE(immediateFailedFuture(new Exception()));
    
        final Future<Object> future;
    
        Result(Future<Object> result) {
          this.future = result;
        }
      }
    
      private enum ExceptionType {
        CHECKED(IOException.class),
        UNCHECKED(RuntimeException.class);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. docs/pt/docs/tutorial/path-params.md

    ### Crie uma classe `Enum` { #create-an-enum-class }
    
    Importe `Enum` e crie uma subclasse que herde de `str` e de `Enum`.
    
    Ao herdar de `str`, a documentação da API saberá que os valores devem ser do tipo `string` e poderá renderizá-los corretamente.
    
    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)
  5. .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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerStatus.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler;
    
    /**
     * Enum representing the status of a crawler.
     * It can be INITIALIZING, RUNNING, or DONE.
     */
    public enum CrawlerStatus {
        /**
         * The crawler is initializing.
         */
        INITIALIZING,
    
        /**
         * The crawler is currently running.
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 997 bytes
    - Click Count (0)
Back to Top