Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for idempotent (0.05 seconds)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

        return (runtimeType instanceof Class) && ((Class<?>) runtimeType).isPrimitive();
      }
    
      /**
       * Returns the corresponding wrapper type if this is a primitive type; otherwise returns {@code
       * this} itself. Idempotent.
       *
       * @since 15.0
       */
      public final TypeToken<T> wrap() {
        if (isPrimitive()) {
          @SuppressWarnings("unchecked") // this is a primitive class
          Class<T> type = (Class<T>) runtimeType;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            }
        }
    
        @Test
        public void test_completeOperation_doubleCall_safe() {
            // Calling completeOperation twice must not throw (idempotent release)
            final AtomicInteger callCount = new AtomicInteger(0);
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top