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

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

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

origin: weld/core

@Override
public boolean containsKey(Object key) {
  return delegate.containsKey(key);
}
origin: org.jboss.weld.se/weld-se-shaded

@Override
public boolean containsKey(Object key) {
  return delegate.containsKey(key);
}
origin: weld/core

/**
 * Returns unmodifiable collections. Moreover, it does not trigger initialization of a new value collection (i.e. when no collection of values for a
 * given key exists).
 */
@Override
public Collection<V> get(K key) {
  if (delegate.containsKey(key)) {
    return unmodifiableValueCollection(delegate.get(key));
  }
  return Collections.emptyList();
}
origin: weld/core

/**
 * Returns unmodifiable collections. Moreover, it does not trigger initialization of a new value collection (i.e. when no collection of values for a
 * given key exists).
 */
@Override
public Collection<V> get(K key) {
  if (delegate.containsKey(key)) {
    return unmodifiableValueCollection(delegate.get(key));
  }
  return Collections.emptyList();
}
origin: org.jboss.weld.se/weld-se

/**
 * Returns unmodifiable collections. Moreover, it does not trigger initialization of a new value collection (i.e. when no collection of values for a
 * given key exists).
 */
@Override
public Collection<V> get(K key) {
  if (delegate.containsKey(key)) {
    return unmodifiableValueCollection(delegate.get(key));
  }
  return Collections.emptyList();
}
origin: weld/core

@Override
public Set<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType) {
  return declaredMetaAnnotationMap.containsKey(metaAnnotationType) ? ImmutableSet.copyOf(declaredMetaAnnotationMap.get(metaAnnotationType))
      : Collections.emptySet();
}
origin: weld/core

@Override
public Set<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType) {
  return declaredMetaAnnotationMap.containsKey(metaAnnotationType) ? ImmutableSet.copyOf(declaredMetaAnnotationMap.get(metaAnnotationType))
      : Collections.emptySet();
}
origin: org.jboss.weld.se/weld-se

@Override
public Set<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType) {
  return declaredMetaAnnotationMap.containsKey(metaAnnotationType)
      ? ImmutableSet.copyOf(declaredMetaAnnotationMap.get(metaAnnotationType))
      : Collections.<Annotation> emptySet();
}
origin: weld/core

/**
 * Returns unmodifiable collections. Moreover, it does not trigger initialization of a new value collection (i.e. when no collection of values for a
 * given key exists).
 */
@Override
public Collection<V> get(K key) {
  if (delegate.containsKey(key)) {
    return unmodifiableValueCollection(delegate.get(key));
  }
  return Collections.emptyList();
}
origin: weld/core

@Override
public Set<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType) {
  return declaredMetaAnnotationMap.containsKey(metaAnnotationType) ? ImmutableSet.copyOf(declaredMetaAnnotationMap.get(metaAnnotationType))
      : Collections.emptySet();
}
origin: org.jboss.weld.se/weld-se-shaded

@Override
public Set<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType) {
  return declaredMetaAnnotationMap.containsKey(metaAnnotationType) ? ImmutableSet.copyOf(declaredMetaAnnotationMap.get(metaAnnotationType))
      : Collections.emptySet();
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Returns unmodifiable collections. Moreover, it does not trigger initialization of a new value collection (i.e. when no collection of values for a
 * given key exists).
 */
@Override
public Collection<V> get(K key) {
  if (delegate.containsKey(key)) {
    return unmodifiableValueCollection(delegate.get(key));
  }
  return Collections.emptyList();
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Returns unmodifiable collections. Moreover, it does not trigger initialization of a new value collection (i.e. when no collection of values for a
 * given key exists).
 */
@Override
public Collection<V> get(K key) {
  if (delegate.containsKey(key)) {
    return unmodifiableValueCollection(delegate.get(key));
  }
  return Collections.emptyList();
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public Set<Annotation> getDeclaredMetaAnnotations(Class<? extends Annotation> metaAnnotationType) {
  return declaredMetaAnnotationMap.containsKey(metaAnnotationType) ? ImmutableSet.copyOf(declaredMetaAnnotationMap.get(metaAnnotationType))
      : Collections.emptySet();
}
origin: org.jboss.weld.se/weld-se

private static boolean isOverridden(EnhancedAnnotatedMethod<?, ?> method, Multimap<MethodSignature, Package> seenMethods) {
  if (method.isPrivate()) {
    return false;
  } else if (method.isPackagePrivate() && seenMethods.containsKey(method.getSignature())) {
    return seenMethods.get(method.getSignature()).contains(method.getPackage());
  } else {
    return seenMethods.containsKey(method.getSignature());
  }
}
origin: org.jboss.weld.se/weld-se-shaded

private static boolean isOverridden(EnhancedAnnotatedMethod<?, ?> method, Multimap<MethodSignature, Package> seenMethods) {
  if (method.isPrivate()) {
    return false;
  } else if (method.isPackagePrivate() && seenMethods.containsKey(method.getSignature())) {
    return seenMethods.get(method.getSignature()).contains(method.getPackage());
  } else {
    return seenMethods.containsKey(method.getSignature());
  }
}
origin: weld/core

private static boolean isOverridden(EnhancedAnnotatedMethod<?, ?> method, Multimap<MethodSignature, Package> seenMethods) {
  if (method.isPrivate()) {
    return false;
  } else if (method.isPackagePrivate() && seenMethods.containsKey(method.getSignature())) {
    return seenMethods.get(method.getSignature()).contains(method.getPackage());
  } else {
    return seenMethods.containsKey(method.getSignature());
  }
}
origin: weld/core

private static boolean isOverridden(EnhancedAnnotatedMethod<?, ?> method, Multimap<MethodSignature, Package> seenMethods) {
  if (method.isPrivate()) {
    return false;
  } else if (method.isPackagePrivate() && seenMethods.containsKey(method.getSignature())) {
    return seenMethods.get(method.getSignature()).contains(method.getPackage());
  } else {
    return seenMethods.containsKey(method.getSignature());
  }
}
origin: weld/core

private static boolean isOverridden(EnhancedAnnotatedMethod<?, ?> method, Multimap<MethodSignature, Package> seenMethods) {
  if (method.isPrivate()) {
    return false;
  } else if (method.isPackagePrivate() && seenMethods.containsKey(method.getSignature())) {
    return seenMethods.get(method.getSignature()).contains(method.getPackage());
  } else {
    return seenMethods.containsKey(method.getSignature());
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

private static boolean isOverridden(EnhancedAnnotatedMethod<?, ?> method, Multimap<MethodSignature, Package> seenMethods) {
  if (method.isPrivate()) {
    return false;
  } else if (method.isPackagePrivate() && seenMethods.containsKey(method.getSignature())) {
    return seenMethods.get(method.getSignature()).contains(method.getPackage());
  } else {
    return seenMethods.containsKey(method.getSignature());
  }
}
org.jboss.weld.util.collectionsMultimapcontainsKey

Popular methods of Multimap

  • entrySet
    Entry#getValue() always returns an unmodifiable collection. Entry#setValue(Object) operation is not
  • get
    This method never returns null. If no collection of values for a given key exists a new value collec
  • put
  • isEmpty
  • 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

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top plugins for WebStorm
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