congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ParseManager.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
cc.redberry.core.parser.ParseManager
constructor

Best Java code snippets using cc.redberry.core.parser.ParseManager.<init> (Showing top 1 results out of 315)

origin: cc.redberry/core

/**
 * Creates context from the settings
 *
 * @param contextSettings settings
 * @see ContextSettings
 */
public Context(ContextSettings contextSettings) {
  this.parseManager = new ParseManager(contextSettings.getParser());
  this.converterManager = contextSettings.getConverterManager();
  this.nameManager = new NameManager(contextSettings.getNameManagerSeed(),
      contextSettings.getKronecker(), contextSettings.getMetricName());
  this.defaultOutputFormat = contextSettings.getDefaultOutputFormat();
  EnumSet<IndexType> metricTypes = EnumSet.noneOf(IndexType.class);
  EnumSet<IndexType> matrixTypes = EnumSet.allOf(IndexType.class);
  for (IndexType type : contextSettings.getMetricTypes()) {
    matrixTypes.remove(type);
    metricTypes.add(type);
    this.metricTypesBits.set(type.getType());
  }
  this.metricTypes = Collections.unmodifiableSet(metricTypes);
  this.matrixTypes = Collections.unmodifiableSet(matrixTypes);
}
cc.redberry.core.parserParseManager<init>

Popular methods of ParseManager

  • getParser
  • parse
  • reset
    Clears all defaults

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
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