Tabnine Logo
DaciukMihovAutomatonBuilder$State.referenceEquals
Code IndexAdd Tabnine to your IDE (free)

How to use
referenceEquals
method
in
org.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder$State

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

origin: org.apache.lucene/lucene-core

/**
 * Two states are equal if:
 * <ul>
 * <li>they have an identical number of outgoing transitions, labeled with
 * the same labels</li>
 * <li>corresponding outgoing transitions lead to the same states (to states
 * with an identical right-language).
 * </ul>
 */
@Override
public boolean equals(Object obj) {
 final State other = (State) obj;
 return is_final == other.is_final
   && Arrays.equals(this.labels, other.labels)
   && referenceEquals(this.states, other.states);
}

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

/**
 * Two states are equal if:
 * <ul>
 * <li>they have an identical number of outgoing transitions, labeled with
 * the same labels</li>
 * <li>corresponding outgoing transitions lead to the same states (to states
 * with an identical right-language).
 * </ul>
 */
@Override
public boolean equals(Object obj) {
 final State other = (State) obj;
 return is_final == other.is_final
   && Arrays.equals(this.labels, other.labels)
   && referenceEquals(this.states, other.states);
}

origin: harbby/presto-connectors

/**
 * Two states are equal if:
 * <ul>
 * <li>they have an identical number of outgoing transitions, labeled with
 * the same labels</li>
 * <li>corresponding outgoing transitions lead to the same states (to states
 * with an identical right-language).
 * </ul>
 */
@Override
public boolean equals(Object obj) {
 final State other = (State) obj;
 return is_final == other.is_final
   && Arrays.equals(this.labels, other.labels)
   && referenceEquals(this.states, other.states);
}

origin: org.infinispan/infinispan-embedded-query

/**
 * Two states are equal if:
 * <ul>
 * <li>they have an identical number of outgoing transitions, labeled with
 * the same labels</li>
 * <li>corresponding outgoing transitions lead to the same states (to states
 * with an identical right-language).
 * </ul>
 */
@Override
public boolean equals(Object obj) {
 final State other = (State) obj;
 return is_final == other.is_final
   && Arrays.equals(this.labels, other.labels)
   && referenceEquals(this.states, other.states);
}

org.apache.lucene.util.automatonDaciukMihovAutomatonBuilder$StatereferenceEquals

Javadoc

Compare two lists of objects for reference-equality.

Popular methods of DaciukMihovAutomatonBuilder$State

  • <init>
  • 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
  • replaceLastChild
    Replace the last added outgoing transition's target state with the given state.

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Reference (javax.naming)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • 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