- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for assertIndex (0.09 sec)
-
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
} /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertIndex(boolean, String)} . */ @Test public void testAssertIndex() { exception.expect(ClIndexOutOfBoundsException.class); exception.expectMessage(is("hogeだからです。")); assertIndex(false, "hogeだからです。"); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
* governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertIndex; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.lang.reflect.Array; import java.util.NoSuchElementException; /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
* governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertIndex; import static org.codelibs.core.misc.AssertionUtil.assertState; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.lang.reflect.Array;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* 事前条件 * @param description * 不正なindexであることの説明 * @throws ClIndexOutOfBoundsException * {@code expression}がfalseの場合。 */ public static void assertIndex(final boolean expression, final String description) { if (!expression) { throw new ClIndexOutOfBoundsException(description); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12.5K bytes - Viewed (0)