- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 945 for useEmpty (0.04 sec)
-
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java
} public ExecutionListener chainListener(ExecutionListener listener) { if (eventSpies.isEmpty()) { return listener; } return new EventSpyExecutionListener(this, listener); } public RepositoryListener chainListener(RepositoryListener listener) { if (eventSpies.isEmpty()) { return listener; } return new EventSpyRepositoryListener(this, listener);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K 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) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
map.put(keyOne, valueOne); assertThat(segment.recencyQueue.isEmpty()).isTrue(); for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { map.get(keyOne); } assertThat(segment.recencyQueue.isEmpty()).isFalse(); map.put(keyTwo, valueTwo); assertThat(segment.recencyQueue.isEmpty()).isTrue(); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
map.put(keyOne, valueOne); assertThat(segment.recencyQueue.isEmpty()).isTrue(); for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { map.get(keyOne); } assertThat(segment.recencyQueue.isEmpty()).isFalse(); map.put(keyTwo, valueTwo); assertThat(segment.recencyQueue.isEmpty()).isTrue(); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K 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) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
} /** * Returns an immutable range set containing the specified single range. If {@link Range#isEmpty() * range.isEmpty()}, this is equivalent to {@link ImmutableRangeSet#of()}. */ public static <C extends Comparable> ImmutableRangeSet<C> of(Range<C> range) { checkNotNull(range); if (range.isEmpty()) { return of(); } else if (range.equals(Range.all())) { return all(); } else {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
for (Range<Integer> range1 : RANGES) { for (Range<Integer> range2 : RANGES) { boolean expectRejection = range1.isConnected(range2) && !range1.intersection(range2).isEmpty(); ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); builder.put(range1, 1).put(range2, 2); try { ImmutableRangeMap<Integer, Integer> unused = builder.build();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 9.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
PluginContainer target, PluginContainer source, boolean sourceDominant, Map<Object, Object> context) { List<Plugin> src = source.getPlugins(); if (!src.isEmpty()) { List<Plugin> tgt = target.getPlugins(); Map<Object, Plugin> master = new LinkedHashMap<>(tgt.size() * 2); for (Plugin element : tgt) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return Iterators.size(iterator()); } @Override public boolean isEmpty() { return !iterator().hasNext(); } }; } Iterator<Entry<Range<K>, V>> entryIterator() { if (subRange.isEmpty()) { return emptyIterator(); } Cut<K> cutToStart = MoreObjects.firstNonNull(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
List<Restriction> restrictions; if (r1.isEmpty() || r2.isEmpty()) { restrictions = Collections.emptyList(); } else { restrictions = Collections.unmodifiableList(intersection(r1, r2)); } ArtifactVersion version = null; if (!restrictions.isEmpty()) { for (Restriction r : restrictions) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0)