- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 854 for Elements (0.08 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
"""; Document doc = Document.of(pomXml); Element root = doc.root(); // Insert empty elements using insertNewElement Element properties = DomUtils.insertNewElement("properties", root); Element dependencies = DomUtils.insertNewElement("dependencies", root); assertNotNull(properties, "properties element should be created");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 31.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
* * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultisetFeature implements Feature<Multiset> { /** * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the * backing multiset. */ ENTRIES_ARE_VIEWS; @Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/test/projects/lifecycle-executor/mojo-configuration/pom.xml
<groupId>org.apache.maven.lifecycle.test</groupId> <artifactId>mojo-configuration</artifactId> <packaging>jar</packaging> <version>1.0</version> <name>project-with-additional-lifecycle-elements</name> <url>http://maven.apache.org</url> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
while (true) { if (to <= from + 1) { // Two or less elements left. if (to == from + 1 && array[to] < array[from]) { // Exactly two elements left. swap(array, from, to); } return array[k]; } else { int midIndex = (from + to) >>> 1; // Choose the median of the elements at the from, to and mid indexes,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
new TestStringCollectionGenerator() { @Override protected Collection<String> create(String[] elements) { return new StandardImplForwardingCollection<>( new LinkedList<>(asList(elements))); } }) .named("ForwardingCollection[LinkedList] with standard implementations") .withFeatures(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.8K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
* <i>should</i> hold {@code expectedSize} elements without growth. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code ObjectCountHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetTest.java
SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return new StandardImplForwardingSet<>(new LinkedHashSet<>(asList(elements))); } }) .named("ForwardingSet[LinkedHashSet] with standard implementations") .withFeatures(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} protected void expectMissingKeys(K... elements) { for (K element : elements) { assertFalse("Should not contain key " + element, getMap().containsKey(element)); } } protected void expectMissingValues(V... elements) { for (V element : elements) { assertFalse("Should not contain value " + element, getMap().containsValue(element)); } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
Iterator<E> iterator = collection.iterator(); Object element = iterator.next(); // If it's an Entry, it may become invalid once it's removed from the Map. Copy it. if (element instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) element; element = mapEntry(entry.getKey(), entry.getValue()); } assertTrue(collection.contains(element)); // sanity check iterator.remove();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
/** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0)