- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for assertArgument (0.18 sec)
-
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
/** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertArgument(String, boolean, String)} * . */ @Test public void testAssertArgument() { exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。.")); assertArgument("hoge", false, "hogeだからです。"); } /** * Test method for
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.convert; import static org.codelibs.core.misc.AssertionUtil.assertArgument; /** * byte配列用の変換ユーティリティです。 * * @author higa */ public abstract class BinaryConversionUtil { /** * {@literal byte}の配列に変換します。 * * @param o
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
* either express or implied. See the License for the specific language * 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;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* 事前条件 * @param description * 不正な引数であることの説明 * @throws ClIllegalArgumentException * {@code expression}がfalseの場合。 */ public static void assertArgument(final String argName, final boolean expression, final String description) { if (!expression) { throw new ClIllegalArgumentException(argName, "ECL0009", asArray(argName, description)); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12.5K bytes - Viewed (0) -
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;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 42.6K bytes - Viewed (0)