- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 209 for isEmpty (0.05 sec)
-
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* If the argument is <code>null</code> or an empty string. */ public static void assertArgumentNotEmpty(final String argName, final String argValue) { if (StringUtil.isEmpty(argValue)) { throw new EmptyArgumentException(argName, "ECL0010", asArray(argName)); } } /** * Asserts that the argument is neither <code>null</code> nor an empty string. *
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
final int leftCount = leftPart.isEmpty() ? 0 : leftPart.split(":").length; final int rightCount = rightPart.isEmpty() ? 0 : rightPart.split(":").length; final int zerosCount = 8 - leftCount - rightCount; final StringBuilder expanded = new StringBuilder(leftPart); for (int i = 0; i < zerosCount; i++) { if (expanded.length() > 0) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 08:31:03 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
* Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)} * . */ @Test public void testIsEmptyCollectionOfQ() { Collection<String> c = null; assertThat(CollectionsUtil.isEmpty(c), is(true)); c = new ArrayList<String>(); assertThat(CollectionsUtil.isEmpty(c), is(true)); } /** * Test method forRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
* @return the first element */ public E getFirst() { if (isEmpty()) { throw new NoSuchElementException(); } return getFirstEntry().element; } /** * Returns the last element. * * @return the last element */ public E getLast() { if (isEmpty()) { throw new NoSuchElementException(); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
assertEquals(boost, elevateWord.getBoost(), 0.001f); assertTrue(elevateWord.getReadings().isEmpty()); assertTrue(elevateWord.getFields().isEmpty()); assertTrue(elevateWord.getTags().isEmpty()); assertTrue(elevateWord.getRoles().isEmpty()); } @Test public void testConstructorWithNullWord() { // Test constructor with null word
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
*/ public static final boolean isEmpty(final String text) { return text == null || text.length() == 0; } /** * Checks if the string is not empty. * * @param text the string to check * @return true if not empty, false otherwise */ public static final boolean isNotEmpty(final String text) { return !isEmpty(text); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
if (path != null && !path.isEmpty()) { validatePath(path); } // Reconstruct normalized URL StringBuilder normalized = new StringBuilder("smb://"); // Add credentials if present String userInfo = url.getUserInfo(); if (userInfo != null && !userInfo.isEmpty()) { // Don't log credentials
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0)