jruby/docs BETA
Navigation
org.apache.lucene.util.automaton 19
C Automata
C Automaton
I AutomatonProvider
C ByteRunAutomaton
I ByteRunnable
C CharacterRunAutomaton
C CompiledAutomaton
C FiniteStringsIterator
C LevenshteinAutomata
C LimitedFiniteStringsIterator
C NFARunAutomaton
C Operations
C RegExp
C RunAutomaton
C StatePair
C TooComplexToDeterminizeException
C Transition
I TransitionAccessor
C UTF32ToUTF8
StatePair — members 6
F s1() int
F s2() int
C new(s1, s2)
M equals(obj) boolean
M hash_code() int
M to_string() String

org.apache.lucene.util.automaton.StatePair

class 6 members

Pair of states.

Fields

fieldtypenote
s1 int first state
s2 int second state

Constructors

new

new ( int s1, int s2 )
Java: <init>(int s1, int s2)

Constructs a new state pair.

nametypedescription
s1intfirst state
s2intsecond state

Instance Methods

equals

boolean equals ( Object obj )
Java: equals(Object obj)

Checks for equality.

nametypedescription
objObjectobject to compare with

Returns: true if obj represents the same pair of states as this pair

hash_code

int hash_code ( )
Java: hashCode()

Returns hash code.

Returns: hash code

to_string

String to_string ( )
Java: toString()
Copyright (c) 2001-2009 Anders Moeller 1. Redistributions of source code must retain the above copyright 2. Redistributions in binary form must reproduce the above copyright