Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NoSuchElementException (0.22 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.AbstractMap;
    import java.util.AbstractSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    
    class PropertiesAsMap extends AbstractMap<String, String> {
    
        private final Map<Object, Object> properties;
    
        PropertiesAsMap(Map<Object, Object> properties) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.AbstractMap;
    import java.util.AbstractSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    
    class PropertiesAsMap extends AbstractMap<String, String> {
    
        private final Map<Object, Object> properties;
    
        PropertiesAsMap(Map<Object, Object> properties) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import java.nio.file.Path;
    import java.time.Instant;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

     */
    package org.apache.maven.internal.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    import org.codehaus.plexus.PlexusContainer;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Properties;
    import java.util.Set;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        @Nonnull
        @Override
        @SuppressWarnings("unchecked")
        public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException {
            T t = (T) services.computeIfAbsent(clazz, this::lookup);
            if (t == null) {
                throw new NoSuchElementException(clazz.getName());
            }
            return t;
        }
    
        private Service lookup(Class<? extends Service> c) {
            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top