- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 629 for elemLen (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testRemove_sizeMany() { assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
// Create the set first, to remove duplicates if necessary. Set<E> set = Sets.newLinkedHashSet(); Collections.addAll(set, elements); for (E element : set) { checkNotNull(element); } switch (set.size()) { case 0: return of(); case 1: return new SingletonImmutableSet<E>(set.iterator().next()); default:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/SingleValueIterator.java
import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that returns a single value. * * @author koichik * @param <E> the element type */ public class SingleValueIterator<E> implements Iterator<E> { /** The only value returned by the iterator. */ protected final E value; /** {@literal true} if the iterator has more elements. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.1K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
*/ ParameterizedClassDesc getParameterizedClassDesc(); /** * Returns the element type if the method's parameter type at the specified index is a parameterized {@link Collection}. * * @param index * the index of the parameter * @return the element type if the parameter type at the specified index is a parameterized {@link Collection}, otherwise {@literal null} */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
} @Test @DisplayName("Test nextElement() returns transaction on first call") void testNextElementFirstCall() { Object element = transaction.nextElement(); assertSame(transaction, element, "First nextElement should return the transaction itself"); } @Test @DisplayName("Test nextElement() changes command on second call")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java
package org.apache.maven.cling.invoker.mvnup.goals; import java.nio.file.Path; import java.util.HashSet; import java.util.Map; import java.util.Set; import eu.maveniverse.domtrip.Document; import eu.maveniverse.domtrip.Element; import eu.maveniverse.domtrip.maven.Coordinates; import eu.maveniverse.domtrip.maven.MavenPomElements; import org.apache.maven.api.cli.mvnup.UpgradeOptions; import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
return member.isSynthetic(); } /** Returns true if the element is public. */ public final boolean isPublic() { return Modifier.isPublic(getModifiers()); } /** Returns true if the element is protected. */ public final boolean isProtected() { return Modifier.isProtected(getModifiers()); } /** Returns true if the element is package-private. */ public final boolean isPackagePrivate() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 18.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER) @CollectionSize.Require(SEVERAL) public void testPeek_sizeMany() { assertEquals("sizeManyQueue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
* * @deprecated since 4.0.0 */ @Deprecated(since = "4.0.0") public interface SettingsDecryptionResult { /** * Gets the decrypted server. This is a convenience method to retrieve the first element from {@link #getServers()}. * * @return The decrypted server or {@code null}. */ Server getServer(); /** * Gets the decrypted servers. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0)