- Sort Score
- Result 10 results
- Languages All
Results 61 - 68 of 68 for assertArgumentNotNull (0.85 sec)
-
src/main/java/org/codelibs/core/collection/ArrayIterator.java
* governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * Adaptor that makes an array into an {@link Iterator}.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
*/ package org.codelibs.core.naming; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Hashtable; import javax.naming.InitialContext; import javax.naming.NamingException; import org.codelibs.core.exception.NamingRuntimeException; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
* @return <code>true</code> if the raw type of <code>type</code> can be assigned to <code>clazz</code> */ public static boolean isTypeOf(final Type type, final Class<?> clazz) { assertArgumentNotNull("type", type); assertArgumentNotNull("clazz", clazz); if (type instanceof Class) { return clazz.isAssignableFrom((Class<?>) type); } if (type instanceof ParameterizedType) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
* governing permissions and limitations under the License. */ package org.codelibs.core.lang; import static org.codelibs.core.misc.AssertionUtil.assertArgument; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; import org.codelibs.core.message.MessageFormatter; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
import static org.codelibs.core.collection.CollectionsUtil.newHashSet; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.File; import java.net.URL; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentMap; import java.util.jar.JarFile;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
import static org.codelibs.core.lang.ClassIterator.iterable; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.sql.Time; import java.util.List; import java.util.Map; import org.codelibs.core.beans.Converter; import org.codelibs.core.beans.converter.DateConverter;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 17.5K bytes - Viewed (0) -
README.md
### Core Design Principles CoreLib follows a **utility-class pattern** where most functionality is exposed through static methods: - **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* @param argValue * The value of the argument. * @throws NullArgumentException * If the argument is <code>null</code>. */ public static void assertArgumentNotNull(final String argName, final Object argValue) { if (argValue == null) { throw new NullArgumentException(argName); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0)