Tabnine Logo
NegativeRule
Code IndexAdd Tabnine to your IDE (free)

How to use
NegativeRule
in
org.mapsforge.map.rendertheme.rule

Best Java code snippets using org.mapsforge.map.rendertheme.rule.NegativeRule (Showing top 2 results out of 315)

origin: mapsforge/mapsforge

/**
 * @return a new {@code Rule} instance.
 */
public Rule build() {
  if (this.valueList.remove(STRING_NEGATION)) {
    AttributeMatcher attributeMatcher = new NegativeMatcher(this.keyList, this.valueList);
    return new NegativeRule(this, attributeMatcher);
  }
  AttributeMatcher keyMatcher = getKeyMatcher(this.keyList);
  AttributeMatcher valueMatcher = getValueMatcher(this.valueList);
  keyMatcher = RuleOptimizer.optimize(keyMatcher, this.ruleStack);
  valueMatcher = RuleOptimizer.optimize(valueMatcher, this.ruleStack);
  return new PositiveRule(this, keyMatcher, valueMatcher);
}
origin: org.mapsforge/mapsforge-map

/**
 * @return a new {@code Rule} instance.
 */
public Rule build() {
  if (this.valueList.remove(STRING_NEGATION)) {
    AttributeMatcher attributeMatcher = new NegativeMatcher(this.keyList, this.valueList);
    return new NegativeRule(this, attributeMatcher);
  }
  AttributeMatcher keyMatcher = getKeyMatcher(this.keyList);
  AttributeMatcher valueMatcher = getValueMatcher(this.valueList);
  keyMatcher = RuleOptimizer.optimize(keyMatcher, this.ruleStack);
  valueMatcher = RuleOptimizer.optimize(valueMatcher, this.ruleStack);
  return new PositiveRule(this, keyMatcher, valueMatcher);
}
org.mapsforge.map.rendertheme.ruleNegativeRule

Most used methods

  • <init>

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Top Vim 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