Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for assertArgumentNotNull (0.13 sec)

  1. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.annotation.Annotation;
    import java.util.Map;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.beans.factory.BeanDescFactory;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

     */
    package org.codelibs.core.sql;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.Enumeration;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @param buf
         *            The string buffer. Must not be {@literal null}.
         */
        public static void appendElement(final Element element, final StringBuilder buf) {
            assertArgumentNotNull("element", element);
            assertArgumentNotNull("buf", buf);
    
            final String tag = element.getTagName();
            buf.append('<');
            buf.append(tag);
            appendAttrs(element.getAttributes(), buf);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         * @return A {@link ByteBuffer} that maps the file channel to memory.
         */
        public static ByteBuffer map(final FileChannel channel, final MapMode mode) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("mode", mode);
    
            try {
                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         * @see CopyOptionsUtil
         */
        protected static void copyBeanToBean(final Object src, final Object dest, final CopyOptions options) {
            assertArgumentNotNull("src", src);
            assertArgumentNotNull("dest", dest);
            assertArgumentNotNull("option", options);
    
            final BeanDesc srcBeanDesc = BeanDescFactory.getBeanDesc(src.getClass());
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/MethodUtil.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.Type;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

            assertArgumentNotNull("iterator", iterator);
            this.iterator = iterator;
        }
    
        /**
         * Creates an {@link IteratorEnumeration}.
         *
         * @param iterable the iterable object (must not be {@literal null})
         */
        public IteratorEnumeration(final Iterable<T> iterable) {
            assertArgumentNotNull("iterable", iterable);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         * @return the input stream to read the entry
         */
        public static InputStream getInputStream(final JarFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
            assertArgumentNotNull("entry", entry);
    
            try {
                return file.getInputStream(entry);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         */
        public static void forEach(final JarFile jarFile, final String prefix, final ClassHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("prefix", prefix);
            assertArgumentNotNull("handler", handler);
    
            final int startPos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

    package org.codelibs.core.collection;
    
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.misc.AssertionUtil.assertArgument;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.Array;
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.util.Arrays;
    import java.util.List;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
Back to top