Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 547 for Enum (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        ctor.setAccessible(true);
        testParameter(null, Invokable.from(ctor), paramIndex, ctor.getDeclaringClass());
      }
    
      /** Visibility of any method or constructor. */
      public enum Visibility {
        PACKAGE {
          @Override
          boolean isVisible(int modifiers) {
            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        testComparator(ordering, 1, 12, 124, 2);
        assertEquals("Ordering.usingToString()", ordering.toString());
        assertSame(ordering, reserialize(ordering));
      }
    
      // use an enum to get easy serializability
      private enum CharAtFunction implements Function<String, Character> {
        AT0(0),
        AT1(1),
        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

        testComparator(ordering, 1, 12, 124, 2);
        assertEquals("Ordering.usingToString()", ordering.toString());
        assertSame(ordering, reserialize(ordering));
      }
    
      // use an enum to get easy serializability
      private enum CharAtFunction implements Function<String, Character> {
        AT0(0),
        AT1(1),
        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     wait on each method call to the proxy
       * @return a time-limiting proxy
       * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or
       *     annotation type, rather than an interface
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/query-params.md

    ////
    
    本例中有 3 个查询参数:
    
    * `needy`,必选的 `str` 类型参数
    * `skip`,默认值为 `0` 的 `int` 类型参数
    * `limit`,可选的 `int` 类型参数
    
    /// tip | "提示"
    
    还可以像在[路径参数](path-params.md#_8){.internal-link target=_blank} 中那样使用 `Enum`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

                      }
    
                      Thread.yield();
                    }
                  }
                });
      }
    
      /** Enum defining the two MoreFiles methods that delete directory contents. */
      private enum DirectoryDeleteMethod {
        DELETE_DIRECTORY_CONTENTS {
          @Override
          public void delete(Path path, RecursiveDeleteOption... options) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     * quantiles. All algorithms modify the dataset they are given (the cost of a copy to avoid this
     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

             *            The cal to set.
             */
            public void setCal(final Calendar cal) {
                this.cal = cal;
            }
        }
    
        /**
         *
         */
        public enum MyEnum {
            /**
             *
             */
            ONE,
            /**
             *
             */
            TWO
        }
    
        /**
         *
         */
        private class MyDto {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top