- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 955 for useEmpty (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertFalse(multimap.containsValue(1)); assertFalse(multimap.containsEntry("foo", 1)); assertTrue(multimap.entries().isEmpty()); assertTrue(multimap.equals(ArrayListMultimap.create())); assertEquals(emptyList(), multimap.get("foo")); assertEquals(0, multimap.hashCode()); assertTrue(multimap.isEmpty()); assertEquals(HashMultiset.create(), multimap.keys()); assertEquals(emptySet(), multimap.keySet());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularContiguousSet.java
} @Override public boolean isEmpty() { return false; } @Override @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method. public ContiguousSet<C> intersection(ContiguousSet<C> other) { checkNotNull(other); checkArgument(this.domain.equals(other.domain)); if (other.isEmpty()) { return other; } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
* this will start another thread to handle that work. */ fun awaitTaskToRun(): Task? { assertLockHeld() while (true) { if (readyQueues.isEmpty()) { return null // Nothing to do. } val now = backend.nanoTime() var minDelayNanos = Long.MAX_VALUE var readyTask: Task? = null var multipleReadyTasks = false
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:30:11 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
String text = ""; String field = "content"; List<String> results = converter.convert(text, field, "en"); assertNotNull(results); assertTrue(results.isEmpty() || (results.size() == 1 && results.get(0).isEmpty())); } @Test public void testConvertWithNullText() throws IOException { // Test convert with null text - this might throw exception String text = null;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
} /** * Returns true if this map contains no key-value mappings. * * @return true if this map contains no key-value mappings */ @Override public boolean isEmpty() { return parent.isEmpty(); } /** * Returns true if this map contains a mapping for the specified key. * * @param key the key whose presence in this map is to be testedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
*/ public static Traverser[] getTraversers(final String rootPackage) { if (StringUtil.isEmpty(rootPackage)) { return EMPTY_ARRAY; } final String baseName = toDirectoryName(rootPackage); final List<Traverser> list = newArrayList();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 18.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SpecialRandom.java
* * @author Nicholaus Shupe */ @NullUnmarked public final class SpecialRandom extends Random { public static SpecialRandom valueOf(String s) { return s.isEmpty() ? new SpecialRandom() : new SpecialRandom(parseLong(s)); } private final boolean hasSeed; private final long seed; public SpecialRandom() { this.hasSeed = false; this.seed = 0; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(keySet).isEmpty(); // add 0, 1, 2, 3, 4 getAll(cache, asList(0, 1, 2, 3, 4)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(0, 1, 2, 3, 4); // invalidate all cache.invalidateAll(); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).isEmpty(); // add 5, 6, 7, 8, 9, 10, 11, 12
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT); } public void testOverriddenInSubclassNowhereAnnotated() { assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty(); } @Override SubClass createSubscriber() { return new SubClass(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ParseRequest.java
final int radix; private ParseRequest(String rawValue, int radix) { this.rawValue = rawValue; this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.isEmpty()) { throw new NumberFormatException("empty string"); } // Handle radix specifier if present String rawValue; int radix; char firstChar = stringValue.charAt(0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 1.7K bytes - Click Count (0)