- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 194 for string (0.13 sec)
-
src/main/java/org/codelibs/core/collection/IndexedIterator.java
/** * インデックス付きの{@link Iterator}です。インデックスは{@literal 0}から始まります。 * * <p> * 次のように使います. * </p> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * * List<String> list = ...; * for (Indexed<String%gt; indexed : indexed(list)) { * System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre>
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
import org.junit.Test; /** * @author koichik */ public class CopyUtilTest { static byte[] srcBytes = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; static String srcString = "ABCDEFGHIJKLMN"; static String urlString = "あいうえお"; InputStream is = new ByteArrayInputStream(srcBytes); ByteArrayOutputStream os = new ByteArrayOutputStream(); Reader reader = new StringReader(srcString);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
import org.codelibs.core.io.SerializeUtil; import org.junit.Test; /** * @author higa */ public class SLinkedListTest { private final SLinkedList<String> list = new SLinkedList<String>(); /** * @throws Exception */ @Test public void testGetFirstEntry() throws Exception { assertThat(list.getFirstEntry(), is(nullValue())); list.addFirst("1");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
/** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); } private String getPath(final String fileName) { return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
* @param sql * SQL文字列。{@literal null}や空文字列であってはいけません * @return 実行した結果 * @see Statement#execute(String) */ public static boolean execute(final Statement statement, final String sql) { assertArgumentNotNull("statement", statement); assertArgumentNotEmpty("sql", sql); try { return statement.execute(sql);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
Thread.currentThread().setContextClassLoader(context); } } /** * @throws Exception */ @Test public void testGetResources() throws Exception { final String name = TestCase.class.getName().replace('.', '/') + ".class"; final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name); assertThat(itr, is(notNullValue())); final URL url = itr.next();
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/beans/FieldDesc.java
BeanDesc getBeanDesc(); /** * フィールドを返します。 * * @return フィールド */ Field getField(); /** * フィールド名を返します。 * * @return フィールド名 */ String getFieldName(); /** * フィールドの型を返します。 * * @param <T> * フィールドの型 * @return フィールドの型 */ <T> Class<T> getFieldType(); /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>(); final Map<String, String> cimap = new CaseInsensitiveMap<String>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
protected static final String WAR_CLASSES_PREFIX = "/WEB-INF/CLASSES/"; /** ルートパッケージです。 */ protected final String rootPackage; /** ルートディレクトリです。 */ protected final String rootDir; /** ZipのURLです。 */ protected final URL zipUrl; /** Zip内のエントリの接頭辞です。 */ protected final String prefix; /** Zip内のエントリ名の{@link Set}です。 */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 19.5K bytes - Viewed (0)