- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 917 for eleven (0.1 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
for (int i = 0; i < getNumElements(); i++) { assertTrue( "toArray(overSizedE[]) should contain element " + expectedSubArray[i], subArray.contains(expectedSubArray[i])); } assertNull( "The array element immediately following the end of the collection should be nulled", array[getNumElements()]);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
switch (elements.length) { case 0: return of(); case 1: @SuppressWarnings("unchecked") // safe because it came from `collection` E element = (E) elements[0]; return of(element); default: return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(elements)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K 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) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
*/ package jcifs.internal.smb2.lock; import jcifs.Encodable; import jcifs.internal.util.SMBUtil; /** * SMB2 Lock data structure. * * This class represents a single lock element used in * SMB2 Lock requests for byte-range locking. * * @author mbechler */ public class Smb2Lock implements Encodable { /** * Flag indicating a shared lock that allows concurrent read access.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator)); assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>"); } public void testGetOnlyElement_noDefault_fiveElements() { Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator(); IllegalArgumentException expected =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/StringUtil.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K 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) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
/** * This default mode for combining a DOM node during merge means that where element names match, the process will * try to merge the element attributes and values, rather than overriding the recessive element completely with the * dominant one. This means that wherever the dominant element doesn't provide the value or a particular attribute, * that value or attribute will be set from the recessive DOM node.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0)