Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 565 for esum (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Service} */
    @NullUnmarked
    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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestEnumSetGenerator implements TestSetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. 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);
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. 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)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

    /**
     * Enumeration defining different retention periods for cached data.
     * Each value represents a specific scope and lifetime for cached items.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
         * Data should be persisted across Maven invocations.
         * Suitable for:
         * - Dependency resolution results
         * - Compilation outputs
         * - Downloaded artifacts
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * An abstract {@code TestMultisetGenerator} for generating multisets containing enum values.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestEnumMultisetGenerator implements TestMultisetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

     * MoreFiles#deleteDirectoryContents}).
     *
     * @since 33.4.0 (but since 21.0 in the JRE flavor)
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseExecutionPoint.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    /**
     * Represents where a dynamic phase should be executed within a static phase.
     */
    public enum PhaseExecutionPoint {
        /**
         * Execution must occur before any executions of the phase proper. Failure of any {@code #BEFORE} dynamic phase
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top