Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,618 for constructors (0.75 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *     #initCause} later, so it is not quite equivalent to using a constructor that omits the
       *     cause.
       */
      @Deprecated
      protected ExecutionError() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}, then preferring constructors with at
       * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertNull(exception.getCause());
            // Note: This test reveals that componentName field is not set in this constructor
            assertNull(exception.getComponentName());
        }
    
        public void test_constructor_withComponentNameAndCause() {
            // Test constructor with component name and cause
            String componentName = "myComponent";
            Throwable cause = new RuntimeException("Connection failed");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test constructor with null message
            SearchQueryException exception = new SearchQueryException((String) null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof FessSystemException);
        }
    
        public void test_constructorWithNullCause() {
            // Test constructor with null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(secured);
            assertEquals("STATIC_ROLE", secured.value()[0]);
        }
    
        // Test annotation on constructor (should not compile, but test for completeness)
        static class ConstructorClass {
            // Note: @Secured cannot be applied to constructors due to @Target restrictions
            public ConstructorClass() {
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        void ssn139() throws IOException {
            final Name calledName = new Name(address.firstCalledName(), 0x20, null);
            do {
                /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied
                if (localAddr == null) {
                    socket = new Socket( address.getHostAddress(), 139 );
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

        private final int[] X = new int[16];
    
        // Constructors
        //...........................................................................
    
        /**
         * Creates a new MD4 message digest instance.
         * Initializes the digest with the MD4 algorithm parameters.
         */
        public MD4() {
            super("MD4");
            engineReset();
        }
    
        /**
         *    This constructor is here to implement cloneability of this class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asByteSource : new boolean[] {false, true}) {
          suite.addTest(
              CharSourceTester.tests(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            // Verify that SearchEngineUtil is a utility class with private constructor
            try {
                SearchEngineUtil.class.getDeclaredConstructor().newInstance();
                fail("Should not be able to instantiate utility class");
            } catch (Exception e) {
                // Expected - utility classes should have private constructors
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top