- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for Final (0.14 sec)
-
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())) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
* @param args * 引数 * @return フォーマットされたメッセージ文字列 */ public static LogMessage format(final String messageCode, final Object... args) { assertArgumentNotEmpty("messageCode", messageCode); final char messageType = messageCode.charAt(0); final String message = MessageFormatter.getSimpleMessage(messageCode, args); switch (messageType) { case 'D':
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* @param arraySize * インデックスが参照する配列の長さ * @throws ClIllegalArgumentException * 引数が配列のインデックスとして不正な場合場合。 */ public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) { if (argValue < 0) { throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName)); } if (argValue >= arraySize) {
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/lang/FieldUtil.java
*/ public static void set(final Field field, final Object target, final Object value) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); try { field.set(target, value); } catch (final IllegalAccessException e) { throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e); } catch (final IllegalArgumentException e) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
* @return インデックスで指定された位置にあったエントリの値 */ public V removeAt(final int index) { final Entry<K, V> e = removeList(index); final V value = e.value; removeMap(e.key); e.clear(); return value; } @Override public void putAll(final Map<? extends K, ? extends V> map) { for (final Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 20.6K bytes - Viewed (1) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* @param obj * オブジェクト * @return オブジェクトが追加された結果の配列 */ public static <T> T[] add(final T[] array, final T obj) { assertArgumentNotNull("array", array); final int length = array.length; @SuppressWarnings("unchecked") final T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), length + 1);
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) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
public static <T> T invoke(final Method method, final Object target, final Object... args) throws InvocationTargetRuntimeException, IllegalAccessRuntimeException { assertArgumentNotNull("method", method); try { return (T) method.invoke(target, args); } catch (final InvocationTargetException ex) { final Throwable t = ex.getCause();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
*/ protected static void traverseFileSystem(final File rootDir, final File baseDir, final ResourceHandler handler) { for (final File file : baseDir.listFiles()) { if (file.isDirectory()) { traverseFileSystem(rootDir, file, handler); } else { final int pos = FileUtil.getCanonicalPath(rootDir).length(); final String filePath = FileUtil.getCanonicalPath(file);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11K bytes - Viewed (1) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
*/ @Test public void testAddAll() throws Exception { final String[] array = new String[] { "111" }; final String[] newArray = ArrayUtil.add(array, "222"); assertThat(newArray.length, is(2)); assertThat(newArray[0], is("111")); assertThat(newArray[1], is("222")); final String[] emptyArray = new String[0];
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.6K bytes - Viewed (0)