- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for assertIndex (0.83 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 Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 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 Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* @param description * The description of why the index is invalid. * @throws ClIndexOutOfBoundsException * If {@code expression} is false. */ public static void assertIndex(final boolean expression, final String description) { if (!expression) { throw new ClIndexOutOfBoundsException(description); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0)