- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for supplied (0.17 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
public int hashCode() { return hash; } } static class CachingSupplier<T> implements Supplier<T> { final Supplier<T> supplier; volatile Object value; CachingSupplier(Supplier<T> supplier) { this.supplier = supplier; } @Override @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"}) public T get() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java
} } return model; } public Model computeIfAbsent(Supplier<Model> supplier) { if (!set) { synchronized (this) { if (!set) { this.set = true; this.model = supplier.get(); this.notifyAll(); } } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
import java.nio.file.Path; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; import org.apache.maven.artifact.DefaultArtifact; import org.apache.maven.internal.transformation.TransformationFailedException; import org.apache.maven.model.building.ModelBuildingException;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 5.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
throw (T) t; // rely on vacuous cast } static class LazyMap<K, V> extends AbstractMap<K, V> { private final Supplier<Map<K, V>> supplier; private volatile Map<K, V> delegate; LazyMap(Supplier<Map<K, V>> supplier) { this.supplier = supplier; } @Override public Set<Entry<K, V>> entrySet() { if (delegate == null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 56.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
return cache.get(key); } @Override public CacheRecord get(Key key, PluginRealmSupplier supplier) throws PluginResolutionException, PluginContainerException { try { return cache.computeIfAbsent(key, k -> { try { return supplier.load(); } catch (PluginResolutionException | PluginContainerException e) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
/* MNG-786*/ @Test void testProfileModules() throws Exception { PomTestWrapper pom = buildPom("profile-module", "a"); assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied assertEquals(4, ((List<?>) pom.getValue("modules")).size()); assertEquals("module-2", pom.getValue("modules[1]")); assertEquals("module-1", pom.getValue("modules[2]"));
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java
* model builder. * */ public interface ModelCache { <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data); <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
* similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>} * is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either * have a public setter or be backed by an equally named field (of any visibility). * * @since 3.0 */ public interface BeanConfigurator { /** * Performs the specified bean configuration.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
import java.util.Properties; import org.apache.maven.api.Session; import org.apache.maven.api.annotations.Nullable; /** * Centralized class for Maven Core feature information. * Features configured are supposed to be final in a given maven session. * * @since 4.0.0 */ public final class Features { /** * Name of the Maven user property to enable or disable the build/consumer POM feature. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 09 13:04:57 GMT 2024 - 2.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar
get it back, by picking out the type of a known parameter to a known method. * The catch is that, with bridging methods, this type is only visible in the class that actually implements * the expected method, so the ReflectiveTypeFinder needs to be applied to that class or a subtype. * * For example, the abstract <code>TypeSafeDiagnosingMa<T></code> defines an abstract method * <pre>protected abstract boolean matchesSafely(T item, Description mismatchDescription);</pre> * By default it uses <code>new...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 31.9K bytes - Viewed (0)