- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 830 for _element (0.03 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
} @Override public @Nullable Entry<E> lastEntry() { return isEmpty() ? null : getEntry(length - 1); } @Override public int count(@Nullable Object element) { int index = elementSet.indexOf(element); return (index >= 0) ? getCount(index) : 0; } @Override public int size() { long size = cumulativeCounts[offset + length] - cumulativeCounts[offset];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
public void testSet_replacingNull() { E[] elements = createSamplesArray(); int i = aValidIndex(); elements[i] = null; collection = getSubjectGenerator().create(elements); doTestSet(e3()); } private void doTestSet(E newValue) { int index = aValidIndex(); E initialValue = getList().get(index); assertEquals( "set(i, x) should return the old element at position i.", initialValue,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Test the nextElement method from Enumeration interface SmbComTransactionResponse element = response.nextElement(); // Should return itself assertSame(response, element); // Can be called multiple times element = response.nextElement(); assertSame(response, element); } @Test @DisplayName("Test with various Configuration implementations")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
final BlockingQueue<Object> q; final int elements; final CountDownLatch beganProducing = new CountDownLatch(1); final CountDownLatch doneProducing = new CountDownLatch(1); Producer(BlockingQueue<Object> q, int elements) { this.q = q; this.elements = elements; } @Override public @Nullable Void call() throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
private static final class PickyIterable<E> implements Iterable<E> { final List<E> elements; int modCount = 0; PickyIterable(E... elements) { this.elements = new ArrayList<E>(asList(elements)); } @Override public Iterator<E> iterator() { return new PickyIterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
private static final class PickyIterable<E> implements Iterable<E> { final List<E> elements; int modCount = 0; PickyIterable(E... elements) { this.elements = new ArrayList<E>(asList(elements)); } @Override public Iterator<E> iterator() { return new PickyIterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
assertSame(fe1, it.next(), "First element must match first page"); assertTrue(it.hasNext(), "Iterator should have second element"); assertSame(fe2, it.next(), "Second element must match first page"); // Next page fetched via fetchMore() assertTrue(it.hasNext(), "Iterator should have third element after fetchMore");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* {@return the project artifacts as immutable list}. Elements are the project POM artifact and the artifact * produced by this project build, if applicable. Hence, the returned list may have one or two elements * (never less than 1, never more than 2), depending on project packaging. * <p> * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends * solely on the project packaging.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Feb 27 11:07:03 UTC 2025 - 10.6K bytes - Viewed (0) -
cmd/net_test.go
}, // With a list of only one element nothing to sort. { ipList: []string{"hostname"}, sortedIPList: []string{"hostname"}, }, // With a list of only one element nothing to sort. { ipList: []string{"127.0.0.1"}, sortedIPList: []string{"127.0.0.1"}, }, // Non parsable ip is assumed to be hostame and gets preserved // as the left most elements, regardless of IP based sorting. {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0)