Tabnine Logo
CollectionUtils.containsAny
Code IndexAdd Tabnine to your IDE (free)

How to use
containsAny
method
in
org.springframework.data.gemfire.util.CollectionUtils

Best Java code snippets using org.springframework.data.gemfire.util.CollectionUtils.containsAny (Showing top 4 results out of 315)

origin: org.springframework.data/spring-data-gemfire

private boolean isNamedRegion(String beanName, BeanDefinition beanDefinition,
    ConfigurableListableBeanFactory beanFactory) {
  return CollectionUtils.isEmpty(regionNames)
    || CollectionUtils.containsAny(regionNames, resolveBeanNames(beanName, beanDefinition, beanFactory));
}
origin: org.springframework.data/spring-data-geode

private boolean isNamedRegion(String beanName, BeanDefinition beanDefinition,
    ConfigurableListableBeanFactory beanFactory) {
  return CollectionUtils.isEmpty(regionNames)
    || CollectionUtils.containsAny(regionNames, resolveBeanNames(beanName, beanDefinition, beanFactory));
}
origin: org.springframework.data/spring-data-geode

private boolean isNamedRegion(String beanName, BeanDefinition beanDefinition,
    ConfigurableListableBeanFactory beanFactory) {
  Set<String> resolvedRegionNames = resolveRegionNames();
  return CollectionUtils.isEmpty(resolvedRegionNames)
    || CollectionUtils.containsAny(resolvedRegionNames, resolveBeanNames(beanName, beanDefinition, beanFactory));
}
origin: org.springframework.data/spring-data-gemfire

private boolean isNamedRegion(String beanName, BeanDefinition beanDefinition,
    ConfigurableListableBeanFactory beanFactory) {
  Set<String> resolvedRegionNames = resolveRegionNames();
  return CollectionUtils.isEmpty(resolvedRegionNames)
    || CollectionUtils.containsAny(resolvedRegionNames, resolveBeanNames(beanName, beanDefinition, beanFactory));
}
org.springframework.data.gemfire.utilCollectionUtilscontainsAny

Javadoc

Null-safe method to determines whether the given Collection contains any elements from the given array.

Popular methods of CollectionUtils

  • asSet
    Returns an unmodifiable Set containing the elements from the given object array.
  • nullSafeIterable
    Returns the given Iterable if not null or empty, otherwise returns the defaultIterable.
  • nullSafeMap
    Null-safe operation returning the given Map if not nullor an empty Map if null.
  • nullSafeSet
    Null-safe operation returning the given Set if not nullor an empty Set if null.
  • iterable
    Adapts the given Iterator as an Iterable object for use within a for each loop.
  • nullSafeList
    Null-safe operation returning the given List if not nullor an empty List if null.
  • addAll
    Adds all elements from the given Iterable to the Collection.
  • emptyIterable
    Returns an empty Iterable object.
  • isEmpty
  • newSortedMap
  • nullSafeCollection
    Null-safe operation returning the given Collection if not nullor an empty Collection (implemented wi
  • nullSafeEnumeration
    Null-safe operation returning the given Enumeration if not nullor an Collections#emptyEnumeration()
  • nullSafeCollection,
  • nullSafeEnumeration,
  • nullSafeIsEmpty,
  • nullSafeIterator,
  • nullSafeSize,
  • toIterator,
  • toString

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Menu (java.awt)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top Sublime Text 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