Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SimpleLookup (0.07 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

     * under the License.
     */
    package org.apache.maven.repository;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.SimpleLookup;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.SwitchableMetadataSource;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top