- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 746 for isEmpty (0.04 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* @throws IllegalArgumentException if duplicate keys were added */ public ImmutableClassToInstanceMap<B> build() { ImmutableMap<Class<? extends B>, B> map = mapBuilder.buildOrThrow(); if (map.isEmpty()) { return of(); } else { return new ImmutableClassToInstanceMap<>(map); } } } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); Set<MethodSignature> missing = ImmutableSortedSet.copyOf(difference(required, found)); if (!missing.isEmpty()) { fail( rootLocaleFormat( "%s should hide the public static methods declared in %s: %s", descendant.getSimpleName(), ancestor.getSimpleName(), missing)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/GeneralRangeTest.java
GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED); assertTrue(range.intersect(GeneralRange.range(ORDERING, 5, CLOSED, 6, CLOSED)).isEmpty()); assertTrue(range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 2, OPEN)).isEmpty()); } public void testFromRangeAll() { assertEquals(GeneralRange.all(Ordering.natural()), GeneralRange.from(Range.all())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
DfsReferral dr = new DfsReferral(); dr.pathConsumed = path.length(); dfs.insert(path, dr); assertNotNull(dfs.referrals); assertFalse(dfs.referrals.map.isEmpty()); String key = "\\server\\share\\folder"; assertTrue(dfs.referrals.map.containsKey(key.toLowerCase())); } @Test void testInsert_WithTrailingSlash() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
MavenArtifact(String repositoryUrl, Resource resource) { if (repositoryUrl == null) { this.repositoryUrl = ""; } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) { this.repositoryUrl = repositoryUrl + '/'; } else { this.repositoryUrl = repositoryUrl; } this.resource = resource;Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
FactoryMethodReturnsNullException { if (cls.isEnum()) { return; } List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); if (factories.isEmpty()) { return; } int numberOfParameters = factories.get(0).getParameters().size(); List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K 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)