Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for lookupMap (0.17 sec)

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

            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            try {
                return container.lookupMap(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

        }
    
        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public void extend(MavenExecutionRequest mavenExecutionRequest) {
            Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class);
            if (!effectivePropertyContributors.isEmpty()) {
                HashMap<String, String> userPropertiesMap = new HashMap<>((Map) mavenExecutionRequest.getUserProperties());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Feb 20 15:38:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                lifeCycles.put(s, lifecycle);
            }
    
            PlexusContainer mockedContainer = mock(PlexusContainer.class);
            when(mockedContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
            DefaultLifecycleRegistry reg = new DefaultLifecycleRegistry();
            return new DefaultLifecycles(reg, new DefaultLookup(mockedContainer));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l));
            PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class);
            when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
            DefaultLifecycles dl = new DefaultLifecycles(
                    new DefaultLifecycleRegistry(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> Map<String, T> lookupMap(Class<T> type);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    				fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst))
    			}
    		}
    	}
    	return w.Flush()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirTypeParameterType.kt

        override val token: KaLifetimeToken get() = builder.token
        override val name: Name get() = withValidityAssertion { coneType.lookupTag.name }
        override val symbol: KaTypeParameterSymbol by cached {
            builder.classifierBuilder.buildTypeParameterSymbolByLookupTag(coneType.lookupTag)
                ?: errorWithFirSpecificEntries("Type parameter was not found", coneType = coneType)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/internal/nettrace/nettrace.go

    // LookupIPAltResolverKey is a context.Context Value key used by tests to
    // specify an alternate resolver func.
    // It is not exposed to outsider users. (But see issue 12503)
    // The value should be the same type as lookupIP:
    //
    //	func lookupIP(ctx context.Context, host string) ([]IPAddr, error)
    type LookupIPAltResolverKey struct{}
    
    // Trace contains a set of hooks for tracing events within
    // the net package. Any specific hook may be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:57:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top