congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
InExRuleMatcher
Code IndexAdd Tabnine to your IDE (free)

How to use
InExRuleMatcher
in
jodd.inex

Best Java code snippets using jodd.inex.InExRuleMatcher (Showing top 4 results out of 315)

origin: oblac/jodd

/**
 * Process includes rules.
 */
protected boolean processIncludes(final V value, boolean include) {
  if (includesCount > 0) {
    if (!include) {
      for (Rule<R> rule : rules) {
        if (!rule.include) {
          continue;
        }
        if (inExRuleMatcher.accept(value, rule.value, true)) {
          include = true;
          break;
        }
      }
    }
  }
  return include;
}
origin: oblac/jodd

/**
 * Process excludes rules.
 */
protected boolean processExcludes(final V value, boolean include) {
  if (excludesCount > 0) {
    if (include) {
      for (Rule<R> rule : rules) {
        if (rule.include) {
          continue;
        }
        if (inExRuleMatcher.accept(value, rule.value, false)) {
          include = false;
          break;
        }
      }
    }
  }
  return include;
}
origin: org.jodd/jodd-core

/**
 * Process includes rules.
 */
protected boolean processIncludes(final V value, boolean include) {
  if (includesCount > 0) {
    if (!include) {
      for (Rule<R> rule : rules) {
        if (!rule.include) {
          continue;
        }
        if (inExRuleMatcher.accept(value, rule.value, true)) {
          include = true;
          break;
        }
      }
    }
  }
  return include;
}
origin: org.jodd/jodd-core

/**
 * Process excludes rules.
 */
protected boolean processExcludes(final V value, boolean include) {
  if (excludesCount > 0) {
    if (include) {
      for (Rule<R> rule : rules) {
        if (rule.include) {
          continue;
        }
        if (inExRuleMatcher.accept(value, rule.value, false)) {
          include = false;
          break;
        }
      }
    }
  }
  return include;
}
jodd.inexInExRuleMatcher

Javadoc

Rule matcher.

Most used methods

  • accept
    Matches the value against the rule.

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JOptionPane (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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