- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,294 for element (0.05 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
provider.root.plugin.each { Element plugin -> def pluginId = plugin.'@id' if (!pluginId) { throw new RuntimeException("No id specified for plugin: ${plugin.'@description' ?: 'unknown'}") } plugin.extends.each { Element e -> def targetClass = e.'@targetClass' if (!targetClass) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java
} for (Repository element : dominant) { Object key = getRepositoryKey(element); merged.put(key, element); } for (Repository element : recessive) { Object key = getRepositoryKey(element); if (!merged.containsKey(key)) { merged.put(key, element); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 21.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java
*/ final class SingletonImmutableSet<E> extends ImmutableSet<E> { private final E element; SingletonImmutableSet(E element) { this.element = checkNotNull(element); } @Override public int size() { return 1; } @Override public UnmodifiableIterator<E> iterator() { return Iterators.singletonIterator(element); } @Override public boolean contains(@Nullable Object object) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 22:23:20 GMT 2025 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
@Override protected Multiset<String> create(String[] elements) { Multiset<String> multiset1 = LinkedHashMultiset.create(); Multiset<String> multiset2 = LinkedHashMultiset.create(); for (int i = 0; i < elements.length; i++) { String element = elements[i]; if (multiset1.contains(element) || multiset2.contains(element)) { // add to both; the one already containing it will have moreCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
E[] elements = createSamplesArray(); E duplicate = elements[(elements.length / 2) - 1]; elements[(elements.length / 2) + 1] = duplicate; return new ArrayWithDuplicate<>(elements, duplicate); } // Helper methods to improve readability of derived classes protected int getNumElements() { return getSubjectGenerator().getCollectionSize().getNumElements(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0) -
android/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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ExtensionPropertiesSummaryRenderer.java
} Document document = parent.getOwnerDocument(); Element section = document.createElement("section"); parent.appendChild(section); Element title = document.createElement("title"); section.appendChild(title); title.appendChild(document.createTextNode("Properties added by the ")); Element literal = document.createElement("literal"); title.appendChild(literal);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Traverser.java
*/ requireNonNull(element); if (visited.add(element)) { return element; } } horizon.removeFirst(); return null; } }; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 19.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /** * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from, * the given array. * * @param array the array to copy elements from
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
import java.util.NoSuchElementException; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of the {@code Iterator} interface for sequences * whose next element can always be derived from the previous element. Null elements are not * supported, nor is the {@link #remove()} method. * * <p>Example: * * {@snippet : * Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0)