- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 185 for New (0.11 sec)
-
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object.")); BinaryConversionUtil.toBinary(new Object()); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
/** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @Test public void testAll() throws Exception { final LruHashMap<String, String> lru = new LruHashMap<String, String>(3); lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111")); Iterator<String> i = lru.keySet().iterator();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
assertArgumentNotNull("statement", statement); assertArgumentNotEmpty("sql", sql); try { return statement.execute(sql); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * フェッチサイズを設定します。 * * @param statement * {@link Statement}。{@literal null}であってはいけません * @param fetchSize
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/collection/EmptyIteratorTest.java
final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); emptyIterator.remove(); } /** * Test method for * {@link org.codelibs.core.collection.EmptyIterator#hasNext()}. */ @Test public void testHasNext() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator.hasNext(), is(false));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
final File junitJar = ResourceUtil.getBuildDir(TestCase.class); assertTrue(junitJar.exists()); final URL url = junitJar.toURI().toURL(); final URLClassLoader loader = new URLClassLoader(new URL[] { url }); loader.loadClass(TestCase.class.getName()); } /** * @throws Exception */ public void testIsExist() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
TimeZone.setDefault(null); } /** * @throws Exception */ @Test public void testToCalendar() throws Exception { final Date date = new Date(); final Calendar cal = CalendarConversionUtil.toCalendar(date); assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
*/ public static FileOutputStream create(final File file) { assertArgumentNotNull("file", file); try { return new FileOutputStream(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * {@link OutputStream}をflushします。 * * @param out * 出力ストリーム */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SingleValueIterator.java
return hasNext; } @Override public E next() { if (!hasNext) { throw new NoSuchElementException(); } hasNext = false; return value; } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
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/main/java/org/codelibs/core/collection/IndexedIterator.java
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)