Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 340 for enums (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestOption.java

    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 931 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/TestOption.java

    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 931 bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for various algorithms for computing the mean and/or variance.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class StatsBenchmark {
    
      enum MeanAlgorithm {
        SIMPLE {
          @Override
          double mean(double[] values) {
            double sum = 0.0;
            for (double value : values) {
              sum += value;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        @EnumSource(RequestParam.class)
        @DisplayName("send handles each RequestParam enum constant")
        void send_eachRequestParam_isAccepted(RequestParam param) throws Exception {
            // Arrange: stub per-call return to ensure interaction with the exact enum
            when(tree.send(eq(request), eq(param))).thenReturn(response);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        }
    
        @Override
        protected Queue<T> delegate() {
          return mmHeap;
        }
    
        @Override
        public @Nullable T poll() {
          return mmHeap.pollLast();
        }
      }
    
      public enum HeapType {
        MIN_MAX {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return MinMaxPriorityQueue.orderedBy(comparator).create();
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

     *
     * @since 4.0.0
     * @see org.apache.maven.api.model.Dependency#getScope()
     * @see org.apache.maven.api.services.DependencyResolver
     */
    @Experimental
    @Immutable
    public enum DependencyScope {
    
        /**
         * None. Allows you to declare dependencies (for example to alter reactor build order) but in reality dependencies
         * in this scope are not part of any path scope.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top