- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for nulla (0.24 sec)
-
src/main/java/org/codelibs/core/lang/StringUtil.java
return str == null ? EMPTY : str; } /** * 引数の文字列を返します。引数の文字列が<code>null</code>だったら<code>defaultStr</code>を返します。 * <p> * 次のように使います. * </p> * * <pre> * StringUtil.defaultString(null, "NULL") = "NULL" * StringUtil.defaultString("", "NULL") = "" * StringUtil.defaultString("aaa", "NULL") = "aaa"
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("loader", loader); if (path == null || loader == null) { return null; } final String p = getResourcePath(path, extension); return loader.getResource(p); } /** * コンテキストクラスローダからリソースを検索してストリームとして返します。 * * @param path * リソースのパス。{@literal null}や空文字列であってはいけません * @return ストリーム
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
} final ParameterizedClassDesc pcd = parameterizedClassDesc.getArguments()[0]; if (pcd == null) { return null; } return pcd.getRawClass(); } @Override public Class<?> getValueClassOfMap() { if (!Map.class.isAssignableFrom(returnType) || !isParameterized()) { return null; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
* コンテンツ。{@literal null}であってはいけません * @param encoding * エンコーディング。{@literal null}の場合はプラットフォームのデフォルトエンコーディングが使われます * @return {@link InputStream} */ public static InputStream getContentsAsStream(final String contents, final String encoding) { assertArgumentNotNull("contents", contents); if (encoding == null) { return new ByteArrayInputStream(contents.getBytes());
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertThat(StringUtil.defaultString("aaa", null), is("aaa")); assertThat(StringUtil.defaultString(null, null), is(nullValue())); } @Test public void testNewStringUnsafe() { assertNull(StringUtil.newStringUnsafe(null)); Method newStringUnsafeMethod = StringUtil.newStringUnsafeMethod; if (newStringUnsafeMethod != null) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
/** * 指定のエンコーディングでファイルを読み込んで{@link Properties}にロードします(例外処理はラップします)。 * * @param props * プロパティセット。{@literal null}であってはいけません * @param file * ファイル。{@literal null}であってはいけません * @param encoding * エンコーディング。{@literal null}や空文字列であってはいけません */ public static void load(final Properties props, final File file, final String encoding) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple5.java
int result = 1; result = prime * result + ((value1 == null) ? 0 : value1.hashCode()); result = prime * result + ((value2 == null) ? 0 : value2.hashCode()); result = prime * result + ((value3 == null) ? 0 : value3.hashCode()); result = prime * result + ((value4 == null) ? 0 : value4.hashCode()); result = prime * result + ((value5 == null) ? 0 : value5.hashCode()); return result; }
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/main/java/org/codelibs/core/lang/GenericsUtil.java
public static Type getGenericParameter(final Type type, final int index) { if (!(type instanceof ParameterizedType)) { return null; } final Type[] genericParameter = getGenericParameters(type); if (genericParameter == null) { return null; } assertArgumentArrayIndex("index", index, genericParameter.length); return genericParameter[index]; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple3.java
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)