- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 1,161 for IsEmpty (0.23 seconds)
-
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ @CanIgnoreReturnValue public @Nullable E pollLast() { return isEmpty() ? null : removeAndGet(getMaxElementIndex()); } /** * Removes and returns the greatest element of this queue. * * @throws NoSuchElementException if the queue is empty */ @CanIgnoreReturnValue public E removeLast() { if (isEmpty()) { throw new NoSuchElementException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
if (repo != null) { String id = repo.getId(); if (id == null || id.isEmpty()) { throw new InvalidRepositoryException("Repository identifier missing", ""); } String url = repo.getUrl(); if (url == null || url.isEmpty()) { throw new InvalidRepositoryException("URL missing for repository " + id, id); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
* governing permissions and limitations under the License. */ package org.codelibs.core.beans.util; import static org.codelibs.core.collection.ArrayUtil.isEmpty; import static org.codelibs.core.collection.CollectionsUtil.newArrayList; import static org.codelibs.core.collection.CollectionsUtil.newHashMap; import static org.codelibs.core.lang.ClassIterator.iterable;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 17.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
apilink.setAttribute("style", classDoc.getStyle()); } private void addSubtypeLinks(ClassDoc classDoc, Element parent, Document document) { if (!classDoc.getSubClasses().isEmpty()) { Element list = document.createElement("segmentedlist"); parent.appendChild(list); Element segtitle = document.createElement("segtitle"); list.appendChild(segtitle);
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.1K bytes - Click Count (0) -
android/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()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java
assertThat(getSubscriber().declaredIn2AnnotatedInClassEvents).contains(EVENT); } public void testNowhereAnnotated() { assertThat(getSubscriber().nowhereAnnotatedEvents).isEmpty(); } @Override SubscriberClass createSubscriber() { return new SubscriberClass(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
} /** Returns an immutable array containing the given values, in order. */ public static ImmutableDoubleArray copyOf(Collection<Double> values) { return values.isEmpty() ? EMPTY : new ImmutableDoubleArray(Doubles.toArray(values)); } /** * Returns an immutable array containing the given values, in order. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
} /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray copyOf(Collection<Integer> values) { return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values)); } /** * Returns an immutable array containing the given values, in order. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java
Set<String> needsInlining = needsInlining(session); if (needsInlining.isEmpty()) { return artifacts; } ArrayList<Artifact> newArtifacts = new ArrayList<>(artifacts.size()); for (Artifact artifact : artifacts) { if ("pom".equals(artifact.getExtension()) && artifact.getClassifier().isEmpty()) { try {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.8K bytes - Click Count (0)