Codota Logo
CollectionUtils.isEmpty
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.springframework.data/spring-data-geode

protected boolean hasProperties(Properties properties) {
  return !CollectionUtils.isEmpty(properties);
}
origin: org.springframework.data/spring-data-gemfire

protected boolean hasProperties(Properties properties) {
  return !CollectionUtils.isEmpty(properties);
}
origin: org.springframework.data/spring-data-gemfire

/**
 * Null-safe method to add all the {@link Properties} to this builder.  This operation effectively overwrites
 * any properties already set with the same name from the source.
 *
 * @param properties {@link Properties} to add to this builder.
 * @return a reference to this {@link PropertiesBuilder}.
 * @see java.util.Properties
 */
public PropertiesBuilder add(Properties properties) {
  if (!CollectionUtils.isEmpty(properties)) {
    this.properties.putAll(properties);
  }
  return this;
}
origin: org.springframework.data/spring-data-geode

/**
 * Null-safe method to add all the {@link Properties} to this builder.  This operation effectively overwrites
 * any properties already set with the same name from the source.
 *
 * @param properties {@link Properties} to add to this builder.
 * @return a reference to this {@link PropertiesBuilder}.
 * @see java.util.Properties
 */
public PropertiesBuilder add(Properties properties) {
  if (!CollectionUtils.isEmpty(properties)) {
    this.properties.putAll(properties);
  }
  return this;
}
origin: org.springframework.data/spring-data-geode

private boolean isConfigurable(Collection<Class<?>> annotatedClasses, String[] basePackages,
  String[] contextConfigLocations) {
  return !(CollectionUtils.isEmpty(annotatedClasses) && ObjectUtils.isEmpty(basePackages)
    && ObjectUtils.isEmpty(contextConfigLocations));
}
origin: org.springframework.data/spring-data-gemfire

private boolean isConfigurable(Collection<Class<?>> annotatedClasses, String[] basePackages,
  String[] contextConfigLocations) {
  return !(CollectionUtils.isEmpty(annotatedClasses) && ObjectUtils.isEmpty(basePackages)
    && ObjectUtils.isEmpty(contextConfigLocations));
}
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-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-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));
}
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));
}
org.springframework.data.gemfire.utilCollectionUtilsisEmpty

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.
  • containsAny
    Null-safe method to determines whether the given Collection contains any elements from the given arr
  • emptyIterable
    Returns an empty Iterable object.
  • 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

  • Start an intent from android
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • Kernel (java.awt.image)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now