- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for system (0.26 sec)
-
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (Indexed<String%gt; indexed : indexed(iterable(reader))) { * System.out.println(indexed.getIndex());
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/UuidUtilTest.java
/** * Test method for {@link org.codelibs.core.net.UuidUtil#create()}. */ public void testCreate() { final String uuid = UuidUtil.create(); System.out.println(uuid); final String uuid2 = UuidUtil.create(); System.out.println(uuid2); assertFalse(uuid.equals(uuid2)); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
try { ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); } /** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException); // ## Act ## final String message = sqlRuntimeException.getMessage(); // ## Assert ## System.out.println(message); assertContains(message, "ErrorCode=7650"); assertContains(message, "SQLState=fooState"); assertContains(message, "some reason"); assertContains(message, "ErrorCode=7660");
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
public void testGetAsObjectAndGetAsString() throws Exception { final TimeConverter converter = new TimeConverter("HH:mm:ss"); final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("12:34:56")); } /** * @throws Exception */ public void testIsTarget() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss"); final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/12/31 12:34:56")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
return timeoutTaskList.size(); } @Override public void run() { int nThreads = Runtime.getRuntime().availableProcessors() / 2; final String value = System.getProperty("corelib.timeout_task.num_of_threads"); if (StringUtil.isNotBlank(value)) { try { nThreads = Integer.parseInt(value); } catch (final NumberFormatException e) {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_ShortStyle() throws Exception { System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern()); final Date date = toDate("10/9/7");
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
final List<String> list = newArrayList(); list.add("aaa"); list.add("bbb"); list.add("ccc"); for (final Indexed<String> indexed : indexed(list)) { System.out.println(indexed.getIndex()); System.out.println(indexed.getElement()); } } /** * @throws Exception */ @Test public void testForEachLineIterator() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0)