Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 261 for Instance (0.05 seconds)

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

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
            if (instance != null
                && packagesToTest.contains(Reflection.getPackageName(instance.getClass()))) {
              try {
                nullPointerTester.testAllPublicInstanceMethods(instance);
              } catch (AssertionError e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             * @param status The status to set.
             * @return This ApiResponse instance.
             */
            public ApiResponse status(final Status status) {
                this.status = status.getId();
                return this;
            }
    
            /**
             * Returns a new ApiResult instance with this ApiResponse.
             * @return A new ApiResult instance.
             */
            public ApiResult result() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Suppliers.java

          @ParametricNullness T instance) {
        return new SupplierOfInstance<>(instance);
      }
    
      private static final class SupplierOfInstance<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        @ParametricNullness final T instance;
    
        SupplierOfInstance(@ParametricNullness T instance) {
          this.instance = instance;
        }
    
        @Override
        @ParametricNullness
        public T get() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          if (Serializable.class.isAssignableFrom(classToTest)) {
            try {
              Object instance = tester.instantiate(classToTest);
              if (instance != null) {
                if (isEqualsDefined(classToTest)) {
                  SerializableTester.reserializeAndAssert(instance);
                } else {
                  SerializableTester.reserialize(instance);
                }
              }
            } catch (Throwable e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                                    instances.add(info);
                                }
                            }
                        }
                    }
                }
            } catch (final Exception e) {
                logger.warn("Failed to get active instances.", e);
            }
            return instances;
        }
    
        /**
         * Checks whether the specified instance is currently active.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        @Test
        public void test_constructor() {
            assertNotNull(target, "Constructor should create instance");
            assertTrue(target instanceof SystemMonitorTarget, "Instance should be of correct type");
            assertTrue(target instanceof MonitorTarget, "Instance should be a MonitorTarget");
            assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Suppliers.java

          @ParametricNullness T instance) {
        return new SupplierOfInstance<>(instance);
      }
    
      private static final class SupplierOfInstance<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        @ParametricNullness final T instance;
    
        SupplierOfInstance(@ParametricNullness T instance) {
          this.instance = instance;
        }
    
        @Override
        @ParametricNullness
        public T get() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        @Test
        public void test_constructor() {
            assertNotNull(target, "Constructor should create instance");
            assertTrue(target instanceof HotThreadMonitorTarget, "Instance should be of correct type");
            assertTrue(target instanceof MonitorTarget, "Instance should be a MonitorTarget");
            assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @param proxy the proxy
         * @return this CurlRequest instance
         */
        public CurlRequest proxy(final Proxy proxy) {
            this.proxy = proxy;
            return this;
        }
    
        /**
         * Sets the character encoding for the request.
         *
         * @param encoding the encoding
         * @return this CurlRequest instance
         * @throws CurlException if the method is called after the param method
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      public void testToString() {
        assertThat(INSTANCE.toString()).isEqualTo("{}");
      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertThat(INSTANCE.get('a', 1)).isNull();
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
        assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top