for (Entry<ResourceRoot, Collection<ComponentDescription>> entry : components.componentDescriptions.entrySet()) { BeanDeploymentArchiveImpl bda = bdaMap.get(entry.getKey()); String id = null;
@Override public Set<Entry<K, Collection<V>>> entrySet() { return delegate.entrySet(); }
@Override public Set<Entry<K, Collection<V>>> entrySet() { return delegate.entrySet(); }
@Override public Set<Entry<K, Collection<V>>> entrySet() { return delegate.entrySet(); }
@Override public Set<Entry<K, Collection<V>>> entrySet() { return delegate.entrySet(); }
@Override public Set<Entry<K, Collection<V>>> entrySet() { return delegate.entrySet(); }
@Override public Set<Entry<K, Collection<V>>> entrySet() { return delegate.entrySet(); }
/** * * @param mapSupplier * @param collectionSupplier * @param multimap */ protected AbstractMultimap(Supplier<Map<K, C>> mapSupplier, Supplier<C> collectionSupplier, Multimap<K, V> multimap) { checkArgumentNotNull(mapSupplier, "mapSupplier"); checkArgumentNotNull(collectionSupplier, "collectionSupplier"); this.supplier = collectionSupplier; this.map = mapSupplier.get(); if (multimap != null) { for (Entry<K, Collection<V>> entry : multimap.entrySet()) { C values = supplier.get(); values.addAll(entry.getValue()); putAll(entry.getKey(), values); } } }
/** * * @param mapSupplier * @param collectionSupplier * @param multimap */ protected AbstractMultimap(Supplier<Map<K, C>> mapSupplier, Supplier<C> collectionSupplier, Multimap<K, V> multimap) { checkArgumentNotNull(mapSupplier, "mapSupplier"); checkArgumentNotNull(collectionSupplier, "collectionSupplier"); this.supplier = collectionSupplier; this.map = mapSupplier.get(); if (multimap != null) { for (Entry<K, Collection<V>> entry : multimap.entrySet()) { C values = supplier.get(); values.addAll(entry.getValue()); putAll(entry.getKey(), values); } } }
/** * * @param mapSupplier * @param collectionSupplier * @param multimap */ protected AbstractMultimap(Supplier<Map<K, C>> mapSupplier, Supplier<C> collectionSupplier, Multimap<K, V> multimap) { checkArgumentNotNull(mapSupplier, "mapSupplier"); checkArgumentNotNull(collectionSupplier, "collectionSupplier"); this.supplier = collectionSupplier; this.map = mapSupplier.get(); if (multimap != null) { for (Entry<K, Collection<V>> entry : multimap.entrySet()) { C values = supplier.get(); values.addAll(entry.getValue()); putAll(entry.getKey(), values); } } }
/** * * @param mapSupplier * @param collectionSupplier * @param multimap */ protected AbstractMultimap(Supplier<Map<K, C>> mapSupplier, Supplier<C> collectionSupplier, Multimap<K, V> multimap) { checkArgumentNotNull(mapSupplier, "mapSupplier"); checkArgumentNotNull(collectionSupplier, "collectionSupplier"); this.supplier = collectionSupplier; this.map = mapSupplier.get(); if (multimap != null) { for (Entry<K, Collection<V>> entry : multimap.entrySet()) { C values = supplier.get(); values.addAll(entry.getValue()); putAll(entry.getKey(), values); } } }
/** * * @param mapSupplier * @param collectionSupplier * @param multimap */ protected AbstractMultimap(Supplier<Map<K, C>> mapSupplier, Supplier<C> collectionSupplier, Multimap<K, V> multimap) { checkArgumentNotNull(mapSupplier, "mapSupplier"); checkArgumentNotNull(collectionSupplier, "collectionSupplier"); this.supplier = collectionSupplier; this.map = mapSupplier.get(); if (multimap != null) { for (Entry<K, Collection<V>> entry : multimap.entrySet()) { C values = supplier.get(); values.addAll(entry.getValue()); putAll(entry.getKey(), values); } } }
/** Only one map supplier can be provided, otherwise there is an exception * * @param mapSupplier * @param concurrentMapSupplier * @param collectionSupplier * @param multimap */ protected AbstractMultimap(Supplier<Map<K, C>> mapSupplier, Supplier<ConcurrentMap<K, C>> concurrentMapSupplier, Supplier<C> collectionSupplier, Multimap<K, V> multimap) { // exactly one map supplier has to have a non-null value if ((mapSupplier == null && concurrentMapSupplier == null) ||(mapSupplier != null && concurrentMapSupplier != null)) { throw new IllegalArgumentException("AbstractMultimap has to have only one map supplier provided"); } checkArgumentNotNull(collectionSupplier, "collectionSupplier"); this.supplier = collectionSupplier; this.concurrentMap = (concurrentMapSupplier != null) ? concurrentMapSupplier.get() : null; this.map = (mapSupplier != null) ? mapSupplier.get() : null; if (multimap != null) { for (Entry<K, Collection<V>> entry : multimap.entrySet()) { C values = supplier.get(); values.addAll(entry.getValue()); putAll(entry.getKey(), values); } } }
if (!problems.isEmpty()) { for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) { WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
if (!problems.isEmpty()) { for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) { WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
if (!problems.isEmpty()) { for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) { WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
if (!problems.isEmpty()) { for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) { WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));