Serialized Form


Package laser.alphabet

Class laser.alphabet.AbstractLabel extends java.lang.Object implements Serializable

serialVersionUID: 1249224087641857151L

Class laser.alphabet.Alphabet extends java.lang.Object implements Serializable

serialVersionUID: -8775940236313392149L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Provides special handling for Alphabets during the deserialization process to ensure that the reference to the AlphabetFactory is properly loaded.

Throws:
InconsistentObjectError - there is an error loading the reference.
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

labels

java.util.Set<E> labels
The underlying Set used to store the Labels in this Alphabet.


factoryClass

java.lang.Class<T> factoryClass
The class of factory.


name

java.lang.String name
The name of this Alphabet.


manager

AlphabetChangeManager<L extends LabelInterface> manager
The change manager for this Alphabet.


annotationTable

AnnotationTable annotationTable
The table of annotations for this Alphabet.

Class laser.alphabet.AlphabetInterfaceException extends java.lang.Exception implements Serializable

Class laser.alphabet.IndexedAlphabet extends Alphabet<IndexedLabel> implements Serializable

serialVersionUID: 8721627742886533138L

Serialized Fields

maxIndex

int maxIndex
The value for N in the range 0 to (N - 1), inclusive, that the index of all IndexedLabels in this IndexedAlphabet must fall between.

Class laser.alphabet.IndexedLabel extends AbstractLabel<IndexedLabel> implements Serializable

serialVersionUID: -3892840880358426295L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
Ensures that flyweighting is maintained upon deserializing this label.

Throws:
java.lang.RuntimeException - If there is a problem flyweighting what is read in.
java.io.ObjectStreamException
Serialized Fields

index

int index
The integer represented by this IndexedLabel.

Class laser.alphabet.IndexedLabelParseException extends AlphabetInterfaceException implements Serializable

Class laser.alphabet.StringLabel extends AbstractLabel<StringLabel> implements Serializable

serialVersionUID: -2601243163697523987L

Serialization Methods

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
Ensures that flyweighting is maintained upon deserializing this label.

Throws:
java.lang.RuntimeException - If there is a problem flyweighting what is read in.
java.io.ObjectStreamException
Serialized Fields

labelString

java.lang.String labelString
The String represented by this StringLabel.


Package laser.alphabet.event

Class laser.alphabet.event.AlphabetChangeAction extends java.lang.Object implements Serializable

serialVersionUID: 4646196148759723359L

Serialized Fields

name_

java.lang.String name_
The unique String name of the action

Class laser.alphabet.event.AlphabetChangeEvent extends java.util.EventObject implements Serializable

serialVersionUID: -5037684887542489061L

Serialized Fields

aspect

java.lang.String aspect
The aspect of the alphabet that has changed


action

AlphabetChangeAction action
The action that represents how it changed


value

java.lang.Object value
The value that has been changed

Class laser.alphabet.event.AlphabetChangeManager extends java.lang.Object implements Serializable

serialVersionUID: 1767810268381467231L

Serialized Fields

alphabet

AlphabetInterface<L extends LabelInterface> alphabet
The alphabet that is the subject


listeners

java.util.LinkedList<E> listeners
The list of registered listeners for the alphabet


events

java.util.Queue<E> events
A queue to hold events from composite methods, to be fired later


eventQueueLock

java.util.concurrent.locks.ReentrantLock eventQueueLock
A mutex for the event queue


deferral

int deferral
An counter indicating how many times deferral is turned on


Package laser.alphabet.labelpattern

Class laser.alphabet.labelpattern.AbstractClassSetLabelPattern extends java.lang.Object implements Serializable

serialVersionUID: -9056497686751980773L

Serialized Fields

labelClass

java.lang.Class<T> labelClass
The Class of Label with respect to which this LabelPattern has meaning.


labels

java.util.SortedSet<E> labels
The set of Labels that have been specified as being included in/excluded from S.


labelPatterns

java.util.SortedSet<E> labelPatterns
The set of LabelPatterns that have been specified as participating in determining S.

Class laser.alphabet.labelpattern.AllLabelPattern extends java.lang.Object implements Serializable

serialVersionUID: -4023746240847512816L

Serialized Fields

labelClass

java.lang.Class<T> labelClass
The type of Label with respect to which this AllLabelPattern has meaning.

Class laser.alphabet.labelpattern.ClassSetLabelPattern extends AbstractClassSetLabelPattern<L extends LabelInterface> implements Serializable

serialVersionUID: -5128730323382888498L

Class laser.alphabet.labelpattern.IndexedLabelPattern extends java.lang.Object implements Serializable

serialVersionUID: -2630511231901886445L

Serialized Fields

lowerBound

int lowerBound
The lower bound of this IndexedLabelPattern


upperBound

int upperBound
The upper bound of this IndexedLabelPattern


stringRep

java.lang.String stringRep
The String representation of this IndexedLabelPattern

Class laser.alphabet.labelpattern.IndexedLabelPatternParseException extends LabelPatternInterfaceException implements Serializable

Class laser.alphabet.labelpattern.LabelPatternInterfaceException extends AlphabetInterfaceException implements Serializable

Class laser.alphabet.labelpattern.NotClassSetLabelPattern extends AbstractClassSetLabelPattern<L extends LabelInterface> implements Serializable

serialVersionUID: 1358235334586347620L


Package laser.alphabet.test

Class laser.alphabet.test.EventAlphabetTest.MockIntegerAnnotation extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

annotation

java.lang.Integer annotation

Class laser.alphabet.test.EventAlphabetTest.MockStringAnnotation extends java.lang.Object implements Serializable

serialVersionUID: 2L

Serialized Fields

annotation

java.lang.String annotation

Package laser.artifact

Package laser.regularlanguage.fsa

Class laser.regularlanguage.fsa.AbstractFSA extends java.lang.Object implements Serializable

serialVersionUID: -6807131394427900787L

Serialized Fields

_states

java.util.SortedSet<E> _states
The set of states of this FSA, Q.


_unmodifiableStates

java.util.SortedSet<E> _unmodifiableStates
An unmodifiable view of the SortedSet of states of this FSA.

See Also:
AbstractFSA._states, Collections.unmodifiableSortedSet(java.util.SortedSet)

_alphabet

AlphabetInterface<L extends LabelInterface> _alphabet
The Alphabet of this FSA, Σ.


_unmodifiableAlphabet

AlphabetInterface<L extends LabelInterface> _unmodifiableAlphabet
An unmodifiable view of the Alphabet of this FSA.

See Also:
AbstractFSA._alphabet, AlphabetFactoryInterface.unmodifiableAlphabet(laser.alphabet.AlphabetInterface)

_startState

FSAStateInterface<L extends LabelInterface> _startState
The start state of this FSA, q0.


_transitions

java.util.SortedSet<E> _transitions
The set of transitions of this FSA, T. Two references are maintained to each transition: one in this SortedSet and another in the hierarchical structure of Maps in which the set of transitions from one state to another is indexed first by the source state then by the target state.

See Also:
AbstractFSA._transitionIndex

_unmodifiableTransitions

java.util.SortedSet<E> _unmodifiableTransitions
An unmodifiable view of the SortedSet of transitions of this FSA.

See Also:
AbstractFSA._transitions, Collections.unmodifiableSortedSet(java.util.SortedSet)

_transitionIndex

java.util.Map<K,V> _transitionIndex
The top level of a hierarchical structure of Maps that provides the functionality to efficiently retrieve transitions based on their source and target states. This Map maps the source states of the transitions to the second level of the hierarchy, a Map from the target state of the transitions to Sets containing the transitions from the given source to the given target states.


_description

java.lang.StringBuffer _description
The description of this FSA.


_name

java.lang.String _name
The name of this FSA.


_nextStateID

int _nextStateID
The ID for the next state to be added to this FSA.


_nextTransitionID

int _nextTransitionID
The ID for the next transition to be added to this FSA.


_factory

AbstractFSAFactory<L extends LabelInterface> _factory
A reference to the factory that creates FSAs of this type.


_annotations

AnnotationTable _annotations
A table containing the annotations that have been added to this FSA.

Class laser.regularlanguage.fsa.AbstractFSAFactory extends java.lang.Object implements Serializable

serialVersionUID: -6456953616216086113L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Provides special handling for FSA factories during the deserialization process to ensure that the reference to the AlphabetFactory is properly loaded.

Throws:
InconsistentObjectError - there is an error loading the reference.
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

factoryClass

java.lang.Class<T> factoryClass
The class of alphabetFactory.

Class laser.regularlanguage.fsa.AbstractFSATransition extends java.lang.Object implements Serializable

serialVersionUID: 6637417111432255892L

Serialized Fields

_id

int _id
The unique ID of this transition.


_source

FSAStateInterface<L extends LabelInterface> _source
A reference to the state that is the source of this transition.


_target

FSAStateInterface<L extends LabelInterface> _target
A reference to the state that is the target of this transition.


_annotations

AnnotationTable _annotations
A table containing the annotations that have been added to this transition.

Class laser.regularlanguage.fsa.AbstractFSATransitionTable extends java.lang.Object implements Serializable

serialVersionUID: 5298088039205026425L

Class laser.regularlanguage.fsa.AbstractMutableFSA extends AbstractFSA<L extends LabelInterface> implements Serializable

serialVersionUID: -2973415600406217887L

Class laser.regularlanguage.fsa.AbstractRunnableFSA extends AbstractFSA<L extends LabelInterface> implements Serializable

serialVersionUID: -4714078764869138148L

Serialized Fields

table

AbstractFSATransitionTable<L extends LabelInterface> table
An AbstractFSATransitionTable to which this runnable FSA can dispatch calls to computation methods.


acceptStates

java.util.SortedSet<E> acceptStates
A cache to hold the accept states of the FSA (since this set will not change).


nonAcceptStates

java.util.SortedSet<E> nonAcceptStates
A cache to hold the non-accept states of the FSA (since this set will not change).


isDeterministic

boolean isDeterministic
A cache to hold the value that should be returned by the AbstractRunnableFSA.isDeterministic method.


isDeterministicCalled

boolean isDeterministicCalled
Indicates whether the AbstractRunnableFSA.isDeterministic method has been called yet or not.


isTotal

boolean isTotal
A cache to hold the value that should be returned by the AbstractRunnableFSA.isTotal method.


isTotalCalled

boolean isTotalCalled
Indicates whether the AbstractRunnableFSA.isTotal method has been called yet or not.

Class laser.regularlanguage.fsa.DFATransitionTable extends AbstractFSATransitionTable<L extends LabelInterface> implements Serializable

serialVersionUID: -5278888329088439516L

Serialized Fields

_sourceIndex

java.util.Map<K,V>[] _sourceIndex
The top level of a two level index that returns the target states of all transitions with a given source state and Label. This level of the index maps the source state (indexed by its ID) to the second level of the index. The second level of the index maps the Label to the set of target states.

Class laser.regularlanguage.fsa.FSAEpsilonTransition extends AbstractFSATransition<L extends LabelInterface> implements Serializable

serialVersionUID: 6278843871408797242L

Class laser.regularlanguage.fsa.FSAInterfaceException extends java.lang.Exception implements Serializable

Class laser.regularlanguage.fsa.FSALabelPatternTransition extends AbstractFSATransition<L extends LabelInterface> implements Serializable

serialVersionUID: -6217079045399239939L

Serialized Fields

labelPattern

LabelPatternInterface<L extends LabelInterface> labelPattern
The LabelPattern of this transition.

Class laser.regularlanguage.fsa.FSALabelTransition extends AbstractFSATransition<L extends LabelInterface> implements Serializable

serialVersionUID: 2967471559679328535L

Serialized Fields

label

LabelInterface<L extends LabelInterface> label
The Label of this transition.

Class laser.regularlanguage.fsa.FSAState extends java.lang.Object implements Serializable

serialVersionUID: -9213234074209826327L

Serialized Fields

_fsa

FSAInterface<L extends LabelInterface> _fsa
A reference to the FSA that contains this state.


_id

int _id
The ID of this state.


_name

java.lang.String _name
The name of this state.


_accept

boolean _accept
A boolean field that is true iff this state is an accept state.


_annotations

AnnotationTable _annotations
A table containing the annotations that have been added to this state.

Class laser.regularlanguage.fsa.FSATransitionTable extends AbstractFSATransitionTable<L extends LabelInterface> implements Serializable

serialVersionUID: 7178473428357385124L

Serialized Fields

_epsilonClosures

java.util.SortedSet<E>[] _epsilonClosures
An array that contains the epsilon closure of each state indexed by the state IDs.


_sourceIndex

java.util.Map<K,V>[] _sourceIndex
The top level of a two level index that returns the target states of all transitions with a given source state and Label. This level of the index maps the source state (indexed by its ID) to the second level of the index. The second level of the index maps the Label to the set of target states.

Class laser.regularlanguage.fsa.IndexedDFAFactory extends IndexedFSAFactory implements Serializable

Class laser.regularlanguage.fsa.IndexedFSAFactory extends AbstractFSAFactory<IndexedLabel> implements Serializable

Class laser.regularlanguage.fsa.MutableDFA extends MutableFSA<L extends LabelInterface> implements Serializable

serialVersionUID: -4009525107708511858L

Class laser.regularlanguage.fsa.MutableFSA extends AbstractMutableFSA<L extends LabelInterface> implements Serializable

serialVersionUID: -5758850113980701867L

Class laser.regularlanguage.fsa.RunnableDFA extends RunnableFSA<L extends LabelInterface> implements Serializable

serialVersionUID: 5164854838842380587L

Serialized Fields

initialConfiguration_

java.util.SortedSet<E> initialConfiguration_
The initial configuration of this DFA

Class laser.regularlanguage.fsa.RunnableFSA extends AbstractRunnableFSA<L extends LabelInterface> implements Serializable

serialVersionUID: 1824066494182942335L

Class laser.regularlanguage.fsa.StringDFAFactory extends StringFSAFactory implements Serializable

Class laser.regularlanguage.fsa.StringFSAFactory extends AbstractFSAFactory<StringLabel> implements Serializable

Class laser.regularlanguage.fsa.WellFormednessException extends FSAInterfaceException implements Serializable


Package laser.regularlanguage.regularexpression

Class laser.regularlanguage.regularexpression.BinaryTreeNode extends TreeNode<L extends LabelInterface> implements Serializable

Serialized Fields

leftChild

TreeNode<L extends LabelInterface> leftChild
The left child of this node


rightChild

TreeNode<L extends LabelInterface> rightChild
The right child of this node

Class laser.regularlanguage.regularexpression.ChoiceNode extends BinaryTreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.ClassSetNode extends TreeNode<L extends LabelInterface> implements Serializable

Serialized Fields

labels_

java.util.Set<E> labels_
The labels in the set

Class laser.regularlanguage.regularexpression.ConcatenationNode extends BinaryTreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.DefaultREFactory extends java.lang.Object implements Serializable

serialVersionUID: 3906082373538887225L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Provides special handling for RE factories during the deserialization process to ensure that the reference to the AlphabetFactory is properly loaded.

Throws:
InconsistentObjectError - there is an error loading the reference.
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

alphabetFactoryClass_

java.lang.Class<T> alphabetFactoryClass_
The class of alphabetFactory_.

Class laser.regularlanguage.regularexpression.DotNode extends TreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.EmptyNode extends TreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.EpsilonNode extends TreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.ExponentNode extends UnaryTreeNode<L extends LabelInterface> implements Serializable

Serialized Fields

exponent

Exponent exponent
The value of the exponent

Class laser.regularlanguage.regularexpression.KleenePlusNode extends UnaryTreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.KleeneStarNode extends UnaryTreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.LabelNode extends TreeNode<L extends LabelInterface> implements Serializable

Serialized Fields

label

LabelInterface<L extends LabelInterface> label
The Label on this LabelNode. If it is null, then this node is labeled with epsilon

Class laser.regularlanguage.regularexpression.NotClassSetNode extends TreeNode<L extends LabelInterface> implements Serializable

Serialized Fields

child_

ClassSetNode<L extends LabelInterface> child_
The label set being negated

Class laser.regularlanguage.regularexpression.OptionNode extends UnaryTreeNode<L extends LabelInterface> implements Serializable

Class laser.regularlanguage.regularexpression.RE extends java.lang.Object implements Serializable

serialVersionUID: 3258135747591811382L

Serialized Fields

reFactory_

REFactory<L extends LabelInterface> reFactory_
The REFactory that created this RE


name_

java.lang.String name_
The String name NOTE: The name is optional.


description_

java.lang.StringBuffer description_
The natural language (NL) description NOTE: The description is optional.


alphabet_

AlphabetInterface<L extends LabelInterface> alphabet_
The alphabet NOTE: The alphabet is required.


re_

TreeNode<L extends LabelInterface> re_
The regular expression NOTE: The regular expression is required.

Class laser.regularlanguage.regularexpression.REException extends java.lang.Exception implements Serializable

serialVersionUID: 5274053256887241118L

Class laser.regularlanguage.regularexpression.REVisitorException extends REException implements Serializable

serialVersionUID: 8709221508184792146L

Class laser.regularlanguage.regularexpression.StringREFactory extends DefaultREFactory<StringLabel> implements Serializable

Class laser.regularlanguage.regularexpression.TreeNode extends java.lang.Object implements Serializable

Class laser.regularlanguage.regularexpression.UnaryTreeNode extends TreeNode<L extends LabelInterface> implements Serializable

Serialized Fields

child

TreeNode<L extends LabelInterface> child
The child of this node


Package laser.regularlanguage.util

Class laser.regularlanguage.util.MarkerNode extends TreeNode<L extends LabelInterface> implements Serializable


Package laser.util

Class laser.util.AnnotationTable extends java.lang.Object implements Serializable

serialVersionUID: -2859350694633762097L

Serialized Fields

index_

java.util.Map<K,V> index_
The table which contains the annotations indexed by class.


filters_

java.util.Set<E> filters_
The filters that specify which annotations should be excluded when copying

See Also:
AnnotationTable.copyAnnotations(laser.util.Annotatable), AnnotationTable.getAnnotationFilters(), AnnotationTable.setAnnotationFilters(java.util.Set>)

Class laser.util.InconsistentObjectError extends java.lang.Error implements Serializable

serialVersionUID: 3606762655421312693L

Serialized Fields

obj_

java.lang.Object obj_
The Object that is inconsistent (ie. not well-formed)

Class laser.util.PersistentException extends java.lang.Exception implements Serializable

serialVersionUID: 8009839826446489130L

Class laser.util.SourceInfo extends java.lang.Object implements Serializable

serialVersionUID: 6678146532690319288L

Serialized Fields

fileName_

java.lang.String fileName_
The name of the file


lineNumber_

int lineNumber_
The line number in the file


characterPosition_

int characterPosition_
The character position (column) in the line in the file

Class laser.util.VisualizableException extends java.lang.Exception implements Serializable

serialVersionUID: 6750584979907285201L


Package laser.util.argument

Class laser.util.argument.Argument extends java.lang.Object implements Serializable

serialVersionUID: 2878484342750111368L

Serialized Fields

name_

java.lang.String name_
The name of this Argument


values_

java.util.List<E> values_
The value(s) of this Argument


isRepeatable_

boolean isRepeatable_
Whether or not this Argument is repeatable. If true then this Argument may be multi-valued otherwise this Argument may only be single valued.


helpMessage_

java.lang.String helpMessage_
The help message to report to the user upon request

Class laser.util.argument.ArgumentException extends java.lang.Exception implements Serializable

serialVersionUID: -2261492366616496747L

Class laser.util.argument.ArgumentFormatException extends ArgumentException implements Serializable

serialVersionUID: 8269518433236195804L

Class laser.util.argument.ArgumentNotRepeatableException extends ArgumentException implements Serializable

serialVersionUID: -6875375938801793290L

Class laser.util.argument.Arguments extends java.lang.Object implements Serializable

serialVersionUID: 6793440719296004630L

Serialized Fields

name

java.lang.String name
The tool name


description

java.lang.StringBuffer description
The tool description


allArguments

java.util.Map<K,V> allArguments
The mapping between Argument names and the Arguments

Class laser.util.argument.BooleanOption extends Option implements Serializable

Class laser.util.argument.BooleanParameter extends Parameter implements Serializable

Class laser.util.argument.ChoiceOption extends Option implements Serializable

Serialized Fields

choices_

java.util.LinkedHashSet<E> choices_
The possible values for this ChoiceOption

Class laser.util.argument.ClassOption extends Option implements Serializable

Serialized Fields

supertype_

java.lang.Class<T> supertype_
If this is non-null, then the value of this option must be a subtype of the supertype_ Class

Class laser.util.argument.ClassParameter extends Parameter implements Serializable

Serialized Fields

supertype_

java.lang.Class<T> supertype_
If this is non-null, then the value of this parameter must be a subtype of the supertype_ Class

Class laser.util.argument.FloatOption extends Option implements Serializable

Class laser.util.argument.FloatParameter extends Parameter implements Serializable

Class laser.util.argument.IntegerChoiceOption extends ChoiceOption implements Serializable

Class laser.util.argument.IntegerOption extends Option implements Serializable

Class laser.util.argument.IntegerParameter extends Parameter implements Serializable

Class laser.util.argument.InvalidChoiceException extends ArgumentException implements Serializable

serialVersionUID: 1334249351286149734L

Class laser.util.argument.LongOption extends Option implements Serializable

Class laser.util.argument.LongParameter extends Parameter implements Serializable

Class laser.util.argument.Option extends Argument implements Serializable

Serialized Fields

default_

java.lang.Object default_
The default value of this Option. It will be returned if the user doesn't explicitly set the value.

Class laser.util.argument.Parameter extends Argument implements Serializable

Class laser.util.argument.StringChoiceOption extends ChoiceOption implements Serializable

Class laser.util.argument.StringOption extends Option implements Serializable

Class laser.util.argument.StringParameter extends Parameter implements Serializable

Class laser.util.argument.UndefinedChoiceException extends ArgumentFormatException implements Serializable

serialVersionUID: 573202424265956631L