- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 746 for IsEmpty (0.11 sec)
-
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(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
android/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 {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
} /** * @throws Exception */ @Test public void testIsEmpty() throws Exception { assertThat(list.isEmpty(), is(true)); list.addLast("1"); assertThat(list.isEmpty(), is(not(true))); } /** * @throws Exception */ @Test public void testContaines() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope()); assertFalse(entry.isComplete()); assertFalse(entry.hasChanges()); assertTrue(entry.getChildren().isEmpty()); } @Test public void testUpdateChild() { String childName = "file1.txt"; long size = 1024L; long lastModified = System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
Multimap<? extends K, ? extends V> multimap, @Nullable Comparator<? super V> valueComparator) { checkNotNull(multimap); // eager for GWT if (multimap.isEmpty() && valueComparator == null) { return of(); } if (multimap instanceof ImmutableSetMultimap) { @SuppressWarnings("unchecked") // safe since multimap is not writable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/SqlDateConverter.java
assertArgumentNotEmpty("pattern", pattern); this.pattern = pattern; } @Override public Object getAsObject(final String value) { if (StringUtil.isEmpty(value)) { return null; } return DateConversionUtil.toSqlDate(value, pattern); } @Override public String getAsString(final Object value) { if (value == null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size()); for (List<? extends E> list : lists) { List<E> copy = ImmutableList.copyOf(list); if (copy.isEmpty()) { return ImmutableList.of(); } axesBuilder.add(copy); } return new CartesianList<>(axesBuilder.build()); } CartesianList(ImmutableList<List<E>> axes) { this.axes = axes;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
Multiset<K> keys = multimap().keys(); Iterator<Multiset.Entry<K>> itr = keys.entrySet().iterator(); assertEquals(Multisets.immutableEntry(k0(), 1), itr.next()); itr.remove(); assertTrue(multimap().isEmpty()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_REMOVE) public void testKeysEntrySetRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Assert - toString starts with class name and contains message when present if (message == null) { assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); } else if (message.isEmpty()) { // Throwable.toString prints class + ": " (with space) even for empty string assertEquals(SMBProtocolDowngradeException.class.getName() + ": ", ex.toString()); } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java
} @Override public void initialize() throws InitializationException { String mavenVersion = rtInfo.getMavenVersion(); if (mavenVersion == null || mavenVersion.isEmpty()) { throw new InitializationException("Unable to read Maven version from maven-core"); } applicationVersion = new DefaultArtifactVersion(mavenVersion); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2K bytes - Viewed (0)