Tabnine Logo
DaciukMihovAutomatonBuilder$State.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder$State
constructor

Best Java code snippets using org.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder$State.<init> (Showing top 4 results out of 315)

origin: org.apache.lucene/lucene-core

/**
 * Create a new outgoing transition labeled <code>label</code> and return
 * the newly created target state for this transition.
 */
State newState(int label) {
 assert Arrays.binarySearch(labels, label) < 0 : "State already has transition labeled: "
   + label;
 
 labels = ArrayUtil.growExact(labels, labels.length + 1);
 states = ArrayUtil.growExact(states, states.length + 1);
 labels[labels.length - 1] = label;
 return states[states.length - 1] = new State();
}

origin: harbby/presto-connectors

/**
 * Create a new outgoing transition labeled <code>label</code> and return
 * the newly created target state for this transition.
 */
State newState(int label) {
 assert Arrays.binarySearch(labels, label) < 0 : "State already has transition labeled: "
   + label;
 
 labels = Arrays.copyOf(labels, labels.length + 1);
 states = Arrays.copyOf(states, states.length + 1);
 labels[labels.length - 1] = label;
 return states[states.length - 1] = new State();
}

origin: org.infinispan/infinispan-embedded-query

/**
 * Create a new outgoing transition labeled <code>label</code> and return
 * the newly created target state for this transition.
 */
State newState(int label) {
 assert Arrays.binarySearch(labels, label) < 0 : "State already has transition labeled: "
   + label;
 
 labels = Arrays.copyOf(labels, labels.length + 1);
 states = Arrays.copyOf(states, states.length + 1);
 labels[labels.length - 1] = label;
 return states[states.length - 1] = new State();
}

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

/**
 * Create a new outgoing transition labeled <code>label</code> and return
 * the newly created target state for this transition.
 */
State newState(int label) {
 assert Arrays.binarySearch(labels, label) < 0 : "State already has transition labeled: "
   + label;
 
 labels = ArrayUtil.growExact(labels, labels.length + 1);
 states = ArrayUtil.growExact(states, states.length + 1);
 labels[labels.length - 1] = label;
 return states[states.length - 1] = new State();
}

org.apache.lucene.util.automatonDaciukMihovAutomatonBuilder$State<init>

Popular methods of DaciukMihovAutomatonBuilder$State

  • getState
    Returns the target state of a transition leaving this state and labeled with label. If no such tran
  • hasChildren
    Return true if this state has any children (outgoing transitions).
  • lastChild
    Return the associated state if the most recent transition is labeled withlabel.
  • newState
    Create a new outgoing transition labeled label and return the newly created target state for this tr
  • referenceEquals
    Compare two lists of objects for reference-equality.
  • replaceLastChild
    Replace the last added outgoing transition's target state with the given state.

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • startActivity (Activity)
  • findViewById (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 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