- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 153 for _new (0.12 sec)
-
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final Date date = toDate("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10")); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
* @return 指定されたキーと値を持つ{@link ConcurrentHashMap}を構築するための{@literal Maps} */ public static <KEY, VALUE> Maps<KEY, VALUE> concurrentHashMap(final KEY key, final VALUE value) { return new Maps<>(new ConcurrentHashMap<KEY, VALUE>()).$(key, value); } /** * 指定されたキーと値を持つ{@link HashMap}を構築するための{@literal Maps}を返します。 * * @param <KEY> * <code>Map</code>のキーの型
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
} else if (o instanceof Number) { return new Double(((Number) o).doubleValue()); } else if (o instanceof String) { return toDouble((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return new Double(new SimpleDateFormat(pattern).format(o)); } return new Double(((java.util.Date) o).getTime()); } else {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @Test public void testWhitespace() throws Exception { final Tokenizer tokenizer = new Tokenizer("\t \n");
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/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
assertArgumentNotNull("ps", ps); try { return ps.executeQuery(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * 更新を実行します。 * * @param ps * {@link PreparedStatement}。{@literal null}であってはいけません * @return 更新した結果の行数
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
c = new ArrayList<String>(); assertThat(CollectionsUtil.isEmpty(c), is(true)); } /** * Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isNotEmpty(java.util.Collection)} * . */ @Test public void testIsNotEmptyCollectionOfQ() { final Collection<String> c = new ArrayList<String>(); c.add("hoge");
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/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
* @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @Override protected void parseURL(final URL u, final String spec, final int start, final int limit) {
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/collection/EmptyIterator.java
*/ public EmptyIterator() { } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); } @Override public boolean hasNext() { return false; } @Override public T next() { throw new ClUnsupportedOperationException("next"); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/StringConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
* */ public class DateConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /**
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)