- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 785 for elemLen (0.05 seconds)
-
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1; } @Override public boolean contains(@Nullable Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
ToOptionalState<T> combine(ToOptionalState<T> other) { if (element == null) { return other; } else if (other.element == null) { return this; } else { if (extras.isEmpty()) { // Replace immutable empty list with mutable list. extras = new ArrayList<>(); } extras.add(other.element); extras.addAll(other.extras);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertTrue(iterator.hasNext(), "Should have first element"); SmbResource first = iterator.next(); assertNotNull(first, "First element should not be null"); assertEquals("file1.txt", first.getName()); assertTrue(iterator.hasNext(), "Should have second element"); SmbResource second = iterator.next(); assertNotNull(second, "Second element should not be null");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java
} public void renderTo(MethodDoc methodDoc, Element parent) { Document document = parent.getOwnerDocument(); Element section = document.createElement("section"); parent.appendChild(section); section.setAttribute("id", methodDoc.getId()); section.setAttribute("role", "detail"); Element title = document.createElement("title"); section.appendChild(title);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
for (Plugin element : src) { if (element.isInherited() || !element.getExecutions().isEmpty()) { // NOTE: Enforce recursive merge to trigger merging/inheritance logic for executions Plugin plugin = new Plugin(); plugin.setLocation("", element.getLocation("")); plugin.setGroupId(null);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
List<Element> valueTitles = new ArrayList<Element>(); for (int i = 1; i < header.size(); i++) { Element element = header.get(i); Element override = findChild(element, "overrides"); if (override != null) { element.removeChild(override); inheritedValueTitleMapping.put(override.getTextContent(), element); } Node firstChild = element.getFirstChild();
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java
public void testElement_empty() { assertThrows(NoSuchElementException.class, () -> getQueue().element()); expectUnchanged(); } @CollectionSize.Require(ONE) public void testElement_size1() { assertEquals("size1Queue.element() should return first element", e0(), getQueue().element()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER) @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
} } /** * Adds {@code element} to the {@code ImmutableSet}. If the {@code ImmutableSet} already * contains {@code element}, then {@code add} has no effect (only the previously added element * is retained). * * @param element the element to add * @return this {@code Builder} object * @throws NullPointerException if {@code element} is null */ @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
int expectedHashCode = 0; for (E element : elements) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertEquals( "A Set's hashCode() should be the sum of those of its elements (with " + "a null element counting as having a hash of zero).", expectedHashCode,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 3.1K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
public static final String SELF_COMBINATION_REMOVE = "remove"; /** * Default mode for combining a DOM node during merge. * When element names match, the process will try to merge element attributes * and values, rather than overriding the recessive element completely. */ public static final String DEFAULT_SELF_COMBINATION_MODE = SELF_COMBINATION_MERGE;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 9.2K bytes - Click Count (0)