Tabnine Logo
Multimap.entrySet
Code IndexAdd Tabnine to your IDE (free)

How to use
entrySet
method
in
org.jboss.weld.util.collections.Multimap

Best Java code snippets using org.jboss.weld.util.collections.Multimap.entrySet (Showing top 17 results out of 315)

origin: wildfly/wildfly

for (Entry<ResourceRoot, Collection<ComponentDescription>> entry : components.componentDescriptions.entrySet()) {
  BeanDeploymentArchiveImpl bda = bdaMap.get(entry.getKey());
  String id = null;
origin: weld/core

@Override
public Set<Entry<K, Collection<V>>> entrySet() {
  return delegate.entrySet();
}
origin: org.jboss.weld.se/weld-se

@Override
public Set<Entry<K, Collection<V>>> entrySet() {
  return delegate.entrySet();
}
origin: weld/core

@Override
public Set<Entry<K, Collection<V>>> entrySet() {
  return delegate.entrySet();
}
origin: weld/core

@Override
public Set<Entry<K, Collection<V>>> entrySet() {
  return delegate.entrySet();
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public Set<Entry<K, Collection<V>>> entrySet() {
  return delegate.entrySet();
}
origin: org.jboss.weld.se/weld-se-shaded

@Override
public Set<Entry<K, Collection<V>>> entrySet() {
  return delegate.entrySet();
}
origin: weld/core

/**
 *
 * @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);
    }
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 *
 * @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);
    }
  }
}
origin: weld/core

/**
 *
 * @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);
    }
  }
}
origin: weld/core

/**
 *
 * @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);
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 *
 * @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);
    }
  }
}
origin: org.jboss.weld.se/weld-se

/** 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);
    }
  }
}
origin: weld/core

if (!problems.isEmpty()) {
  for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) {
    WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
origin: weld/core

if (!problems.isEmpty()) {
  for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) {
    WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
origin: org.jboss.weld.se/weld-se-shaded

if (!problems.isEmpty()) {
  for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) {
    WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
origin: org.jboss.weld.se/weld-se

if (!problems.isEmpty()) {
  for (Entry<String, Collection<BeanDeploymentArchive>> entry : problems.entrySet()) {
    WeldSELogger.LOG.beanClassDeployedInMultipleBeanArchives(entry.getKey(), WeldCollections.toMultiRowString(entry.getValue()));
org.jboss.weld.util.collectionsMultimapentrySet

Javadoc

Entry#getValue() always returns an unmodifiable collection. Entry#setValue(Object) operation is not supported.

Popular methods of Multimap

  • get
    This method never returns null. If no collection of values for a given key exists a new value collec
  • put
  • isEmpty
  • containsKey
  • keySet
  • size
    Unlike Guava'sMultimap#size() this method returns the number of key-value mappings.
  • uniqueValues
  • values
    The list may include the same value multiple times if it occurs in multiple mappings or if the colle
  • replaceValues
    Note that the original collection of values is completely replaced by a new collection which contain

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now