Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 147 for Arguments (2.9 sec)

  1. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

         */
        private final String methodName;
    
        /**
         * The argument types.
         */
        private final Class<?>[] argTypes;
    
        /**
         * Creates a {@link NoSuchMethodRuntimeException}.
         *
         * @param targetClass the target class
         * @param methodName the method name
         * @param argTypes the argument types
         * @param cause the underlying exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        protected AssertionUtil() {
        }
    
        /**
         * Asserts that the argument is not <code>null</code>.
         *
         * @param argName
         *            The name of the argument that must not be {@code null}.
         * @param argValue
         *            The value of the argument.
         * @throws NullArgumentException
         *             If the argument is <code>null</code>.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/NullArgumentException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when an argument is null.
     *
     * Intended to be used instead of throwing {@link NullPointerException}.
     *
     * @author wyukawa
     */
    public class NullArgumentException extends ClIllegalArgumentException {
    
        /**
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/BooleanFunction.java

    /**
     * Functional interface for boolean functions.
     * Represents a function that accepts one argument and produces a boolean result.
     * @param <T> the type of the input to the function
     */
    @FunctionalInterface
    public interface BooleanFunction<T> {
        /**
         * Applies this function to the given argument.
         * @param t the function argument
         * @return the function result
         */
        boolean apply(T t);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         * .
         */
        @Test
        public void testLoadPropertiesInputStreamPropsNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[props] is null."));
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            PropertiesUtil.load(null, inputStream);
        }
    
        /**
         * Test method for
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         * .
         */
        @Test
        public void testAssertArgumentNotNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[hoge] is null."));
            assertArgumentNotNull("hoge", null);
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertArgument(String, boolean, String)}
         * .
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.ENGLISH);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
         *
         * @param <T>
         *            the type of the array elements
         * @param a
         *            first array
         * @param b
         *            second array
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        }
    
        @Test
        void testConstructorAndGetters() {
            assertEquals(PROTO, dcerpcBinding.getProto(), "Protocol should match the constructor argument.");
            assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument.");
            assertNull(dcerpcBinding.getOptions(), "Options should be null initially.");
            assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top