- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,664 for contains (0.06 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
assertTrue(result.contains("<version>3.2</version>"), "Plugin version should be upgraded to 3.2"); // Verify that the XML formatting is correct - no malformed closing tags assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags"); assertFalse(result.contains("</plugins></pluginManagement>"), "Should not have malformed closing tags");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java
Version getRecommendedVersion(); /** * Determines whether the specified version is contained within this constraint. * * @param version the version to test, must not be {@code null} * @return {@code true} if this range contains the specified version, {@code false} otherwise */ boolean contains(@Nonnull Version version); /** * {@return the string representation of this version} */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
for (Entry<K, V> entry : getSampleElements()) { assertTrue(multimap().keySet().contains(entry.getKey())); } } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testKeySetContainsNullKeyPresent() { initMultimapWithNullKey(); assertTrue(multimap().keySet().contains(null)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
.getMessage(); Supplier<String> message = () -> String.format("The exception message does not contain the expected GAV. Message was:%n%s%n", cause); assertTrue(cause.contains(expectedGAV), message); assertTrue(cause.contains(actualGAV), message); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/config/config.go
subSystemValue := strings.SplitN(inputs[0], SubSystemSeparator, 2) subSys = subSystemValue[0] if !SubSystems.Contains(subSys) { return subSys, inputs, tgt, Errorf("unknown sub-system %s", s) } if SubSystemsSingleTargets.Contains(subSystemValue[0]) && len(subSystemValue) == 2 { return subSys, inputs, tgt, Errorf("sub-system '%s' only supports single target", subSystemValue[0]) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
* {@code not(target::contains)}. * <li>This method's name conflicts with Kotlin's {@code in} operator. * </ul> * * <p><b>Discouraged:</b> Prefer using either {@code target::contains} or {@code x -> * target.contains(x)}, but note that lambdas do not have human-readable {@link #toString()} * representations and are not serializable.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
* backing collection. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") abstract class ImmutableAsList<E> extends ImmutableList<E> { abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@Nullable Object target) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java
assertFalse(elementSet.contains(e3())); getMultiset().add(e3(), 4); assertTrue(elementSet.contains(e3())); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testElementSetReflectsRemove() { Set<E> elementSet = getMultiset().elementSet(); assertTrue(elementSet.contains(e0())); getMultiset().removeAll(singleton(e0()));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
cmd/generic-handlers_test.go
for _, test := range containsReservedMetadataTests { t.Run("", func(t *testing.T) { contains := containsReservedMetadata(test.header) if contains && !test.shouldFail { t.Errorf("contains reserved header but should not fail") } else if !contains && test.shouldFail { t.Errorf("does not contain reserved header but failed") } }) } } var sseTLSHandlerTests = []struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
} /** * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code * Objects.equals(o, element)} would return {@code true}. Otherwise returns {@code false}, even in * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link * ClassCastException}. */ public static boolean contains(Iterable<?> iterable, @Nullable Object element) {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)