- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 511 for element (0.37 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.BUILD; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.EXECUTIONS; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.MODEL_VERSION; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.MODULE; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.MODULES;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
.reduce(false, Boolean::logicalOr); } private static class BuildContainer { final Element element; final String sectionName; BuildContainer(Element element, String sectionName) { this.element = element; this.sectionName = sectionName; } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 22.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PARENT; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PLUGIN; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PLUGINS; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PROFILE; import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PROFILES;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
for (Plugin element : tgt) { Object key = getPluginKey(element); merged.put(key, element); } Map<Object, Plugin> added = new LinkedHashMap<>(); for (Plugin element : src) { Object key = getPluginKey(element); Plugin existing = merged.get(key);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
// Query Operations /** * Returns the number of occurrences of {@code element} in this multiset. * * @param element the element to look for * @return the nonnegative number of occurrences of the element */ @Override public int count(@Nullable Object element) { AtomicInteger existingCounter = safeGet(countMap, element); return (existingCounter == null) ? 0 : existingCounter.get(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 22.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek()); assertEquals( "Should be able to peek() first element multiple times", "A", peekingIterator.peek()); assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek()); assertEquals(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
public static boolean contains(Iterable<?> iterable, @Nullable Object element) { if (iterable instanceof Collection) { Collection<?> collection = (Collection<?>) iterable; return Collections2.safeContains(collection, element); } return Iterators.contains(iterable.iterator(), element); } /** * Removes, from an iterable, every element that belongs to the provided collection. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 43.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
} /** * Removes an element from its parent. * * @param element the element to remove * */ public static void removeElement(Element element) { Editor editor = new Editor(element.document()); editor.removeElement(element); } /** * Convenience method to add GAV (groupId, artifactId, version) elements to a parent. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0)