Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for mapael (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

    public class MappedCollection<U, V> extends AbstractCollection<U> {
        private final Collection<V> list;
        private final Function<V, U> mapper;
    
        public MappedCollection(Collection<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public Iterator<U> iterator() {
            Iterator<V> it = list.iterator();
            return new Iterator<U>() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/MappedList.java

    public class MappedList<U, V> extends AbstractList<U> {
        private final List<V> list;
        private final Function<V, U> mapper;
    
        public MappedList(List<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public U get(int index) {
            return mapper.apply(list.get(index));
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field>
              <name>type</name>
              <version>4.0.0+</version>
              <description>
                <![CDATA[
                The type of dependency, that will be mapped to a file extension, an optional classifier, and a few other attributes.
                Some examples are {@code jar}, {@code war}, {@code ejb-client}
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/Utils.java

            }
            return clazz.cast(o);
        }
    
        static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).collect(Collectors.toList());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. 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
     */
    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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

    public class MappedCollection<U, V> extends AbstractCollection<U> {
        private final Collection<V> list;
        private final Function<V, U> mapper;
    
        public MappedCollection(Collection<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public Iterator<U> iterator() {
            Iterator<V> it = list.iterator();
            return new Iterator<U>() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/Utils.java

            }
            return clazz.cast(o);
        }
    
        static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).collect(Collectors.toList());
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/plugin-manager.txt

    reference to the host application in order to perform its work. This may not occur in the first versions of the plugin API but a resource needs to simply become the mapping mechanism by which parameters are taken from the REST side of the application and mapped into a method call within a given Plexus component. Whether that be the core Nexus application or a component provided by a plugin.
    
    At the very least in the short term the resource needs to know how to look up the component that is required...
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedList.java

    public class MappedList<U, V> extends AbstractList<U> {
        private final List<V> list;
        private final Function<V, U> mapper;
    
        public MappedList(List<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public U get(int index) {
            return mapper.apply(list.get(index));
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top