Java org.apache.lucene.util.automaton Operations fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util.automaton Operations fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util.automaton Operations.

The text is from its open source code.

Field

intDEFAULT_MAX_DETERMINIZED_STATES
Default maximum number of states that Operations#determinize should create.

Method

Automatonconcatenate(List l)
Returns an automaton that accepts the concatenation of the languages of the given automata.
Automatonconcatenate(Automaton a1, Automaton a2)
Returns an automaton that accepts the concatenation of the languages of the given automata.
Automatonintersection(Automaton a1, Automaton a2)
Returns an automaton that accepts the intersection of the languages of the given automata.
booleanisTotal(Automaton a)
Returns true if the given automaton accepts all strings.
Automatonminus(Automaton a1, Automaton a2, int maxDeterminizedStates)
Returns a (deterministic) automaton that accepts the intersection of the language of a1 and the complement of the language of a2.
booleanrun(Automaton a, String s)
Returns true if the given string is accepted by the automaton.
booleanrun(Automaton a, IntsRef s)
Returns true if the given string (expressed as unicode codepoints) is accepted by the automaton.
booleansameLanguage(Automaton a1, Automaton a2)
Returns true if these two automata accept exactly the same language.
booleansubsetOf(Automaton a1, Automaton a2)
Returns true if the language of a1 is a subset of the language of a2.
Automatonunion(Collection l)
Returns an automaton that accepts the union of the languages of the given automata.
Automatonunion(Automaton a1, Automaton a2)
Returns an automaton that accepts the union of the languages of the given automata.