- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 124 for Nering (0.2 sec)
-
src/main/java/org/codelibs/core/convert/FloatConversionUtil.java
*/ public static Float toFloat(final Object o, final String pattern) { if (o == null) { return null; } else if (o instanceof Float) { return (Float) o; } else if (o instanceof Number) { return new Float(((Number) o).floatValue()); } else if (o instanceof String) { return toFloat((String) o); } else if (o instanceof java.util.Date) {
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/main/java/org/codelibs/core/convert/ShortConversionUtil.java
*/ public static Short toShort(final Object o, final String pattern) { if (o == null) { return null; } else if (o instanceof Short) { return (Short) o; } else if (o instanceof Number) { return ((Number) o).shortValue(); } else if (o instanceof String) { return toShort((String) o); } else if (o instanceof java.util.Date) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
*/ public static String getShortPattern() { return getShortPattern(LocaleUtil.getDefault()); } /** * 指定されたロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。 * * @param locale * ロケール。{@literal null}であってはいけません * @return {@link DateFormat#SHORT}スタイルのパターン文字列 */ public static String getShortPattern(final Locale locale) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* <code>":"</code> */ public static final String PATH_SEPARATOR = System.getProperty("path.separator"); /** * <code>os.name</code> システムプロパティ。例:<code>Mac OS X</code> */ public static final String OS_NAME = System.getProperty("os.name"); /** * <code>java.io.tmpdir</code> システムプロパティ。例:/tmp */ public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir"); /**
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/test/java/org/codelibs/core/message/MessageFormatterTest.java
*/ @Test public void testGetMessage() throws Exception { final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s);
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/io/SerializeUtilTest.java
final String[] a = new String[] { "1", "2" }; final String[] b = (String[]) SerializeUtil.serialize(a); assertEquals("1", b.length, a.length); assertEquals("2", "1", b[0]); assertEquals("3", "2", b[1]); } /** * @throws Exception */ public void testObjectAndBinary() throws Exception { final String o = "hoge";
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/CoreLibConstants.java
/** * UTF-8 */ public static final String UTF_8 = "UTF-8"; public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8); public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ"; public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
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/log/Logger.java
* 引数 */ public void log(final String messageCode, final Object... args) { assertArgumentNotEmpty("messageCode", messageCode); log(format(messageCode, args)); } /** * ログを出力します。 * <p> * ログメッセージは{@link #format(String, Object...)}メソッドで作成します。 * {@link #format(String, Object...)}を{@literal static import}しておくと便利です。 * </p> *
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/test/java/org/codelibs/core/stream/StreamUtilTest.java
Map<Object, Object> map = new HashMap<Object, Object>(); assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length)); } public void test_ofMap() { Map<String, String> map = new HashMap<String, String>(); map.put("key1", "value1"); map.put("key2", "value2"); StreamUtil.stream(map).of(s -> s.forEach(m -> assertEquals(map.get(m.getKey()), m.getValue()))); }
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/exception/FileAccessException.java
public FileAccessException(final String messageCode, final Object[] args, final Throwable cause) { super(messageCode, args, cause); } public FileAccessException(final String messageCode, final Object[] args) { super(messageCode, args); } public FileAccessException(final String messageCode, final Throwable cause) { super(messageCode, new Object[0], cause);
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)