- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 2,307 for mmap (0.04 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
return Optional.of(new DefaultPackaging(id, type, getPlugins(lifecycleMapping))); } private Map<String, PluginContainer> getPlugins(LifecycleMapping lifecycleMapping) { Map<String, PluginContainer> lfs = new HashMap<>(); lifecycleMapping.getLifecycles().forEach((id, lifecycle) -> { Map<String, Plugin> plugins = new HashMap<>(); lifecycle .getLifecyclePhases()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
* Parses a sequence of XML elements and converts them to the appropriate {@link Map} type. * * @param parser The XML parser * @return Converted Map instance */ private Map<String, Object> parseMap(final MXParser parser, final TypeLiteral<?> toType) throws Exception { @SuppressWarnings("unchecked") final Map<String, Object> map = newImplementation(parser, HashMap.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
"A List should never equal a Map.", getMap().equals(copyToList(getMap().entrySet()))); } private static <K, V> Map<K, V> newHashMap( Collection<? extends Entry<? extends K, ? extends V>> entries) { HashMap<K, V> map = new HashMap<>(); for (Entry<? extends K, ? extends V> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
Map map = project1.getArtifactMap(); assertNotNull(map, "No artifacts"); assertTrue(map.size() > 0, "No Artifacts"); assertTrue(map.size() == 2, "Set size should be 2, is " + map.size()); assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation. * * @author George van den Driessche */ @GwtIncompatible public class MapTestSuiteBuilder<K, V>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
map.compute(name, (n, ob) -> ob == null || ob.getPriority() < b.getPriority() ? b : ob); } } //noinspection unchecked return (Q) map(map, this::getInstance); }; } private <Q> Q getInstance(Binding<Q> binding) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
@Singleton public class DefaultMetadataReader implements MetadataReader { public Metadata read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(Files.newInputStream(input.toPath()), options); } public Metadata read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
ImmutableTypeToInstanceMap<Number> map = ImmutableTypeToInstanceMap.<Number>builder() .put(Integer.class, 0) .put(int.class, 1) .build(); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(Integer.class)); assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class))); assertEquals(1, (int) map.getInstance(int.class));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java
public int load() { final Map<String, Map<String, String[]>> relatedQueryMap = new HashMap<>(); getAvailableRelatedQueryList().stream().forEach(entity -> { final String key = getHostKey(entity); Map<String, String[]> map = relatedQueryMap.get(key); if (map == null) { map = new HashMap<>(); relatedQueryMap.put(key, map); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
@Test public void testMethodParameterType() throws Exception { final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class); final Method method = Hoge.class.getMethod("foo", Set.class, Map.class); ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map); assertThat(desc.getRawClass(), is(sameClass(Set.class)));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.4K bytes - Viewed (0)