Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Argument (0.1 sec)

  1. 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)
  2. src/main/java/org/codelibs/core/lang/MethodUtil.java

        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
         *            The position of the parameterized collection in the method's argument list
         * @return The element type of the parameterized collection
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <li>If <code>type</code> is an array, the actual class of its elements is returned.</li>
         * <li>Otherwise, <code>null</code> is returned.</li>
         * </ul>
         *
         * @param type
         *            the type to analyze
         * @param map
         *            the map that contains the type variables and type arguments
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        /**
         * If the argument type at the specified position is a number, converts the argument to match the type.
         *
         * @param paramTypes
         *            array of parameter types
         * @param args
         *            array of arguments
         * @param index
         *            index of the argument to operate on
         * @return {@literal true} if the argument was converted to match the type
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  5. 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)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *
         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The primitive class if the argument is a wrapper class, otherwise the class passed as the argument.
         */
        public static Class<?> getPrimitiveClassIfWrapper(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @return the given string, or an empty string if the argument is <code>null</code>
         */
        public static String defaultString(final String str) {
            return str == null ? EMPTY : str;
        }
    
        /**
         * Returns the given string, or the specified default string if the argument is <code>null</code>.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        }
    
        @Nested
        @DisplayName("Argument parsing")
        class ArgumentParsing {
    
            @Test
            @DisplayName("URL parameter is correctly parsed")
            void urlParameterParsing() {
                String expectedUrl = "smb://server/share/test.txt";
                TestLocking t = new TestLocking();
    
                // Simulate argument parsing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
            assertTrue(exception.getMessage().contains("IllegalArgumentException"));
            assertTrue(exception.getMessage().contains("Invalid argument"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(5)).verify(any(byte[].class), anyInt(), anyInt(), anyInt(), any());
        }
    
        @Test
        @DisplayName("Test sign method invocation with argument capture")
        void testSignMethodArgumentCapture() {
            // Arrange
            ArgumentCaptor<byte[]> dataCaptor = ArgumentCaptor.forClass(byte[].class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top