A B C D E F G H I K L M N O P R S T U V W X

A

ASSIGN - Static variable in interface mae.mj3.MJ
 
ArrayListModel - class mae.util.ArrayListModel.
Convenience class for JList, intended to replace Vector.
ArrayListModel() - Constructor for class mae.util.ArrayListModel
 
ArrayListModel(Collection) - Constructor for class mae.util.ArrayListModel
 
ArrayListModel(Object[]) - Constructor for class mae.util.ArrayListModel
 
a0 - Static variable in class mae.sss.Menu
Empty argument list, used in main(String[] args)
accept(Translator) - Method in class mae.mj3.MJ.Program
Accepts a visitor (Translator) to this program
accept(Translator) - Method in interface mae.mj3.Statement
Accepts a visitor (Translator) to this statement
accept(File) - Method in class mae.util.SimpleFilter
 
accept() - Method in class mae.util.VersionChecker
 
accept(String, String) - Static method in class mae.util.VersionChecker
 
add(MutableTreeNode[]) - Method in class mae.mj3.MJ.Node
Convenience method to add an array of nodes
add(Number) - Method in class mae.tut.num.Complex
 
add(Number) - Method in class mae.tut.num.Decimal
 
add(Number) - Method in class mae.tut.num.Matrix
 
add(Number) - Method in class mae.tut.num.Number
Adds this Number to another Number n and returns the result.
add(Number) - Method in class mae.tut.num.Rational
 
add(Number) - Method in class mae.tut.num.Whole
 
add(Object) - Method in class mae.util.ArrayListModel
 
add(int, Object) - Method in class mae.util.ArrayListModel
 
addAll(Object[]) - Method in class mae.util.ArrayListModel
 
addAll(Collection) - Method in class mae.util.ArrayListModel
 
addAll(int, Collection) - Method in class mae.util.ArrayListModel
 
addButton(String) - Method in class mae.util.Console
Creates new singleton frame
addURL(URL) - Method in class mae.util.TimerLoader
 
angle() - Method in class mae.tut.num.Complex
Theta angle of polar coordinates, in the range of -90 through 270 degrees
args(String) - Static method in class mae.sss.Menu
Single-String argument list, used similarly
available() - Method in class mae.util.DialogInputStream
Returns remaining number of bytes in the buffer

B

BEGIN - Static variable in interface mae.mj3.MJ
 
BLANK - Static variable in interface mae.mj3.MJ
 
Binary - class mae.expr.Binary.
Represents a binary operation.
Binary(Expression, char, Expression) - Constructor for class mae.expr.Binary
Constructs a binary operation from two Expressions and an operator.

C

COLON - Static variable in interface mae.mj3.MJ
 
COMMA - Static variable in interface mae.mj3.MJ
 
CONSTANTS - interface mae.expr.CONSTANTS.
Constants used in various classes.
ClassChooser - class mae.sss.ClassChooser.
 
ClassChooser(Frame, ZipFile) - Constructor for class mae.sss.ClassChooser
 
ClassSummary - class mae.util.ClassSummary.
Summary information for a java Class, obtained from class file.
ClassSummary(String) - Constructor for class mae.util.ClassSummary
Invokes main constructor by making a new File(s).
ClassSummary(File) - Constructor for class mae.util.ClassSummary
Main constructor: opens the class file f, decodes it, and closes it.
Complex - class mae.tut.num.Complex.
Represents a complex number, implemented as x+iy.
Complex(float, float) - Constructor for class mae.tut.num.Complex
Use factory method Factory.newComplex(float,float), rather than this constructor
Console - class mae.util.Console.
Redirects system input/output to swing components.
Constant - class mae.expr.Constant.
Represents a constant, implemented as a float.
Constant(float) - Constructor for class mae.expr.Constant
Constructs a constant Expression.
charno() - Method in class mae.mj3.Parser
Returns current char position
chooseFile() - Static method in class mae.sss.Menu
Shows standard file chooser
chooseFonts() - Static method in class mae.sss.More
Shows a font chooser
classList(ClassLoader) - Static method in class mae.util.TimerLoader
 
clear() - Method in class mae.util.ArrayListModel
 
clone() - Method in class mae.mj3.MJ.Node
Makes a deep clone of this node
close() - Method in class mae.util.DialogInputStream
Closes this InputStream and resets system input
close() - Method in class mae.util.TextAreaPrintStream
Closes this PrintStream and resets system output
compareTo(Object) - Method in class mae.tut.num.Ordinal
Compares this Number to another Object for order.
contains(Object) - Method in class mae.util.ArrayListModel
 
containsAll(Collection) - Method in class mae.util.ArrayListModel
 
count - Static variable in class mae.util.TimerLoader
 
currentSymbol() - Method in class mae.mj3.Parser
Returns current symbol in the Scanner

D

DBG_FULL - Static variable in interface mae.mj3.MJ
 
DBG_LOW - Static variable in interface mae.mj3.MJ
 
DBG_MED - Static variable in interface mae.mj3.MJ
 
DBG_NONE - Static variable in interface mae.mj3.MJ
 
Decimal - class mae.tut.num.Decimal.
Represents a decimal number, implemented as a float.
Decimal(float) - Constructor for class mae.tut.num.Decimal
Use factory method Factory.newDecimal(float), rather than this constructor
Demo - class mae.sss.Demo.
 
Demo() - Constructor for class mae.sss.Demo
 
Demo(JFrame, String) - Constructor for class mae.sss.Demo
 
DemoMenu - class mae.sss.DemoMenu.
Adds chosen capabilities to SSS, as various static methods
DialogInputStream - class mae.util.DialogInputStream.
Redirects system input to a JDialog.
description(boolean) - Method in class mae.util.ClassSummary
Returns a full description for this class in HTML or plain text
determinant() - Method in class mae.tut.num.Matrix
Returns the determinant of this Matrix
display(File) - Static method in class mae.util.TreePanel
 
display(String) - Static method in class mae.util.TreePanel
 
display(ZipFile) - Static method in class mae.util.TreePanel
 
display(Component) - Static method in class mae.util.TreePanel
 
display(TreeNode) - Static method in class mae.util.TreePanel
 
dispose() - Method in class mae.sss.SSS
 
dispose() - Method in class mae.util.Console
 
dlg - Static variable in class mae.sss.ClassChooser
 

E

ELSE - Static variable in interface mae.mj3.MJ
 
END - Static variable in interface mae.mj3.MJ
 
EOF - Static variable in interface mae.expr.CONSTANTS
Token that signifies the end of input
EOF - Static variable in interface mae.mj3.MJ
 
EXT - Static variable in interface mae.mj3.MJ
 
EXT - Static variable in class mae.util.PropertyManager
Default extension used in all property files
Expression - interface mae.expr.Expression.
Basic methods in a simple expression.
Expression - interface mae.mj3.Expression.
Defines a mJ expression; implementations are not public
equals(Object) - Method in class mae.tut.num.Complex
Compares this Number to another Object for equality.
equals(Object) - Method in class mae.tut.num.Matrix
Compares this Number to another Object for equality.
equals(Object) - Method in class mae.tut.num.Ordinal
Compares this Number to another Object for equality.
exp(Number) - Static method in class mae.tut.num.Factory
Raises Number n to e (Works with any subclass).
exp(float) - Static method in class mae.tut.num.Factory
Raises argument x to e (Should return a value close to Math.exp(x))
expandAll(JTree) - Static method in class mae.util.TreePanel
 
extension(File) - Method in class mae.util.SimpleFilter
 

F

FOR - Static variable in interface mae.mj3.MJ
 
Factory - class mae.tut.num.Factory.
Defines static methods to construct Numbers and to calculate several functions.
FontDialog - class mae.sss.FontDialog.
 
FontDialog() - Constructor for class mae.sss.FontDialog
Creates new form FontDialog
FontDialog(Frame, Font[]) - Constructor for class mae.sss.FontDialog
 
fValue() - Method in class mae.expr.Binary
 
fValue() - Method in class mae.expr.Constant
 
fValue() - Method in interface mae.expr.Expression
Returns float value of this Expression
fValue() - Method in interface mae.mj3.Expression
Returns primitive (float) value of this expression
fileContents(File) - Static method in class mae.util.TreePanel
 
finalize() - Method in class mae.util.TimerLoader
 
first - Variable in class mae.mj3.Scanner
Location of the token: first char position
flush() - Method in class mae.util.TextAreaPrintStream
Empty method, it does nothing
font - Variable in class mae.sss.FontDialog
 
frm - Variable in class mae.util.Small
 
funcName(String) - Method in class mae.mj3.ToJava
Returns Java function name
funcName(String) - Method in class mae.mj3.ToPascal
Returns Pascal function names: "ln", "trunc", "round"
funcName(String) - Method in class mae.mj3.Translator
Returns function name for specified function

G

gc() - Static method in class mae.sss.More
Invokes System.gc(), showing time and free memory
gcd(long, long) - Static method in class mae.tut.num.Factory
Returns the greatest common divisor of the arguments.
get(int) - Method in class mae.util.ArrayListModel
 
getApplet() - Static method in class mae.sss.DemoMenu
Returns the calling Applet, if any
getBounds(String, int, int) - Method in class mae.util.PropertyManager
Returns a Rectangle property with name d, default width & height
getClassLoader(Object) - Static method in class mae.sss.More
Who loaded this Object?
getClassPath(String, File) - Static method in class mae.util.TimerLoader
 
getColor(String, Color) - Method in class mae.util.PropertyManager
Returns a Color property with name d, default def
getContent(File) - Static method in class mae.sss.More
Reads a text file into a String
getContent(InputStream) - Static method in class mae.sss.More
Reads an InputStream into a String.
getDepth() - Method in class mae.mj3.MJ.Node
Returns depth of this node as a subtree
getDescription() - Method in class mae.util.SimpleFilter
 
getElementAt(int) - Method in class mae.util.ArrayListModel
 
getFont(int) - Method in class mae.sss.InspectorPanel
 
getFont(String, Font) - Method in class mae.util.PropertyManager
Returns a Font property with name d, default def
getFrames() - Static method in class mae.sss.More
An array of active Frames, including hidden ones
getInstance() - Static method in class mae.util.Console
Returns singleton frame, Creates it if null
getInteger(String, int) - Method in class mae.util.PropertyManager
Returns an integer property with name d, default def
getLex() - Method in class mae.mj3.Parser
Returns the Scanner
getList() - Method in class mae.util.TreePanel
 
getName() - Method in class mae.mj3.ToJava
 
getName() - Method in class mae.mj3.ToPascal
 
getName() - Method in class mae.mj3.Translator
Returns program name (obtained from main) + extension
getName() - Method in class mae.util.ClassSummary
Returns class name
getParams(String, Class[], Class, String, Map) - Method in class mae.sss.ParamDialog
 
getRoot() - Method in class mae.util.TreePanel
 
getSelection() - Method in class mae.sss.ClassChooser
 
getSize() - Method in class mae.util.ArrayListModel
 
getSuper() - Method in class mae.util.ClassSummary
Returns super class name
getSystemClass(String) - Static method in class mae.sss.DemoMenu
Chooses system class by name (including extensions and the class path)
getSystemClass() - Static method in class mae.sss.Menu
Shows a dialog to choose a system class that begins with java and javax
getSystemClass(String) - Static method in class mae.sss.Menu
Chooses system class by name (including extensions and the class path)
getThreads() - Static method in class mae.sss.More
An array of active Threads
getTree() - Method in class mae.util.TreePanel
 

H

handleSelection(JList, int) - Method in class mae.sss.Inspector
 
hasMain() - Method in class mae.util.ClassSummary
Returns true if and only if method "void main(String[])" exists in this class
hashCode() - Method in class mae.tut.num.Number
hashCode that would be returned by a Float object with the same value.

I

IDENT - Static variable in interface mae.expr.CONSTANTS
Token that signifies an identifier
IDENT - Static variable in interface mae.mj3.MJ
 
IF - Static variable in interface mae.mj3.MJ
 
IMAGE - Static variable in interface mae.mj3.MJ
 
Inspector - class mae.sss.Inspector.
 
Inspector(JFrame, InspectorPanel) - Constructor for class mae.sss.Inspector
 
InspectorPanel - class mae.sss.InspectorPanel.
 
InspectorPanel(String, boolean) - Constructor for class mae.sss.InspectorPanel
 
Interpreter - class mae.mj3.Interpreter.
Runs a mJ Program in a separate Thread
Interpreter(MJ.Program) - Constructor for class mae.mj3.Interpreter
Standard constructor without GUI
Interpreter(MJSourceHandler) - Constructor for class mae.mj3.Interpreter
Modified constructor; GUI and Program are known by MJSourceHandler h
id - Variable in class mae.util.TimerLoader
 
id() - Method in class mae.util.TimerLoader
 
indexOf(Object) - Method in class mae.util.ArrayListModel
 
init() - Method in class mae.expr.Sampler
Initialization, called only in Applet mode
init() - Method in class mae.sss.Demo
 
initCls - Static variable in class mae.sss.Demo
 
initFonts(boolean) - Method in class mae.sss.FontDialog
get system fonts
inverse() - Method in class mae.tut.num.Complex
 
inverse() - Method in class mae.tut.num.Decimal
 
inverse() - Method in class mae.tut.num.Matrix
 
inverse() - Method in class mae.tut.num.Number
Returns the multiplicative inverse of this Number.
inverse() - Method in class mae.tut.num.Rational
 
isClosed() - Method in class mae.util.DialogInputStream
Indicates if this InputStream is closed
isClosed() - Method in class mae.util.TextAreaPrintStream
Indicates if this PrintStream is closed
isEmpty() - Method in class mae.util.ArrayListModel
 
iterator() - Method in class mae.util.ArrayListModel
 

K

KEY_MAX - Static variable in interface mae.mj3.MJ
 
KEY_MIN - Static variable in interface mae.mj3.MJ
 
KEY_STR - Static variable in interface mae.mj3.MJ
 

L

LEFT - Static variable in interface mae.expr.CONSTANTS
Left parenthesis
LEFT - Static variable in interface mae.mj3.MJ
 
LITERAL - Static variable in interface mae.mj3.MJ
 
lab - Variable in class mae.util.Small
 
last - Variable in class mae.mj3.Scanner
Location of the token: last char position
lastIndexOf(Object) - Method in class mae.util.ArrayListModel
 
lineno() - Method in class mae.mj3.Parser
Returns current line number
list() - Method in class mae.util.PropertyManager
Lists first level Properties object on System output
list - Variable in class mae.util.Small
 
listClasses(ClassLoader) - Static method in class mae.sss.More
List of classes loaded by ClassLoader L
listClasses(ClassLoader) - Static method in class mae.util.TimerLoader
 
listClasses() - Method in class mae.util.TimerLoader
 
listIterator() - Method in class mae.util.ArrayListModel
 
listIterator(int) - Method in class mae.util.ArrayListModel
 
listTokens() - Method in class mae.expr.Scanner
Prints all (remaining) tokens to System.out
listTokens() - Method in class mae.mj3.Scanner
Prints remaining tokens into System.out
loadClass() - Static method in class mae.sss.Menu
Shows standard file chooser to choose a class file.
loadClass(URL, String) - Static method in class mae.sss.Menu
Most general method: loads any class anywhere, if its URL is known.
loadClass(File) - Static method in class mae.util.TimerLoader
 
loadClass(URL, String) - Static method in class mae.util.TimerLoader
 

M

MINUS - Static variable in interface mae.expr.CONSTANTS
 
MINUS - Static variable in interface mae.mj3.MJ
 
MJ - interface mae.mj3.MJ.
A holder class for constants and top level Nodes
MJ.Method - class mae.mj3.MJ.Method.
A mJ method containing an array of statements
MJ.Node - class mae.mj3.MJ.Node.
A node in mJ syntax tree
MJ.Program - class mae.mj3.MJ.Program.
A mJ program containing an array of methods
MOD - Static variable in interface mae.mj3.MJ
 
MSG - Static variable in class mae.util.Small
 
Matrix - class mae.tut.num.Matrix.
Represents a 2x2 matrix, implemented as (a b : c d).
Matrix(float, float, float, float) - Constructor for class mae.tut.num.Matrix
Use factory method Factory.newMatrix(float,float,float,float), rather than this constructor
Menu - class mae.sss.Menu.
Adds chosen capabilities to SSS, as various static methods
MicroJ1 - class mae.mj3.MicroJ1.
Parser for mJ level 1
MicroJ1(File) - Constructor for class mae.mj3.MicroJ1
 
MicroJ1(String) - Constructor for class mae.mj3.MicroJ1
 
MicroJ3 - class mae.mj3.MicroJ3.
Parser for mJ level 3
MicroJ3(File) - Constructor for class mae.mj3.MicroJ3
 
MicroJ3(String) - Constructor for class mae.mj3.MicroJ3
 
More - class mae.sss.More.
Adds more capabilities to SSS
mae.expr - package mae.expr
Arithmetic expressions: parsing, evaluation, and translation (CSE 461)
mae.mj3 - package mae.mj3
mJ classes for parsing, execution, and translation (CSE 461)
mae.sss - package mae.sss
Small, Simple, Safe: a tool for inspecting and experimenting with classes.
mae.tut.num - package mae.tut.num
Numbers implemented in several concrete classes.
mae.util - package mae.util
Utilities used in various packages
main(String[]) - Static method in class mae.expr.Parser
Test code for this class.
main(String[]) - Static method in class mae.expr.Sampler
Runs as an application (Arguments are ignored)
main(String[]) - Static method in class mae.expr.Scanner
Test code for this class.
main(String[]) - Static method in class mae.mj3.Interpreter
 
main(String[]) - Static method in class mae.mj3.MicroJ1
 
main(String[]) - Static method in class mae.mj3.MicroJ3
 
main(String[]) - Static method in class mae.mj3.Scanner
 
main(String[]) - Static method in class mae.mj3.ToJava
 
main(String[]) - Static method in class mae.mj3.ToPascal
 
main(String[]) - Static method in class mae.sss.ClassChooser
 
main(String[]) - Static method in class mae.sss.Demo
 
main(String[]) - Static method in class mae.sss.FontDialog
 
main(String[]) - Static method in class mae.sss.InspectorPanel
 
main(String[]) - Static method in class mae.sss.SSS
 
main(String[]) - Static method in class mae.util.ClassSummary
Prints a full description for the class in args[0].
main(String[]) - Static method in class mae.util.Console
Starts an instance
main(String[]) - Static method in class mae.util.Small
Makes an instance
main(String[]) - Static method in class mae.util.TreePanel
 
main(String[]) - Static method in class mae.util.VersionChecker
 
makeTree(String) - Method in class mae.util.TreePanel
 
makeTree(File) - Method in class mae.util.TreePanel
 
makeTree(Component) - Method in class mae.util.TreePanel
 
makeTree(ZipFile) - Method in class mae.util.TreePanel
 
markSupported() - Method in class mae.util.DialogInputStream
Returns false
mult(Number) - Method in class mae.tut.num.Complex
 
mult(Number) - Method in class mae.tut.num.Decimal
 
mult(Number) - Method in class mae.tut.num.Matrix
 
mult(Number) - Method in class mae.tut.num.Number
Multiplies this Number by another Number n and returns the result.
mult(Number) - Method in class mae.tut.num.Rational
 
mult(Number) - Method in class mae.tut.num.Whole
 

N

NL - Static variable in interface mae.mj3.MJ
 
NUMBER - Static variable in interface mae.expr.CONSTANTS
Token that signifies a number
NUMBER - Static variable in interface mae.mj3.MJ
 
Number - class mae.tut.num.Number.
The abstract superclass of all numbers: Whole, Rational, Decimal, Complex, Matrix.
newComplex(float, float) - Static method in class mae.tut.num.Factory
Factory method that constructs a Complex, a Decimal or a Whole.
newDecimal(float) - Static method in class mae.tut.num.Factory
Factory method that constructs a Decimal or a Whole.
newDialog(Frame) - Static method in class mae.sss.ClassChooser
 
newDialog(Inspector) - Static method in class mae.sss.FontDialog
 
newMatrix(float, float, float, float) - Static method in class mae.tut.num.Factory
Factory method that constructs a Matrix.
newMicroJ1(File) - Static method in class mae.mj3.Util
Factory method to make a Parser, level 1
newMicroJ3(File) - Static method in class mae.mj3.Util
Factory method to make a Parser, level 3
newRational(long, long) - Static method in class mae.tut.num.Factory
Factory method that constructs a Rational or a Whole.
newScanner(String) - Static method in class mae.mj3.Util
Factory method to make a Scanner
newScanner(File) - Static method in class mae.mj3.Util
Factory method to make a Scanner
newWhole(long) - Static method in class mae.tut.num.Factory
Factory method that constructs a Whole.
nextLine() - Static method in class mae.util.Console
Reads a line from System-in, without any Reader object
nextSymbol() - Method in class mae.mj3.Scanner
Reads next token and returns it as String
nextToken() - Method in class mae.expr.Scanner
Returns next token after reading a sufficient number of chars
nextToken() - Method in class mae.mj3.Scanner
Returns next token
numToStr(float) - Static method in class mae.expr.Constant
Converts argument to String, removing ".0" at the end of an integer constant.

O

Ordinal - class mae.tut.num.Ordinal.
The abstract superclass of Comparable numbers: Whole, Rational, Decimal.
orig - Variable in class mae.sss.FontDialog
 

P

PERIOD - Static variable in interface mae.mj3.MJ
 
PLUS - Static variable in interface mae.expr.CONSTANTS
 
PLUS - Static variable in interface mae.mj3.MJ
 
PRINT - Static variable in interface mae.mj3.MJ
 
PRINTLN - Static variable in interface mae.mj3.MJ
 
ParamDialog - class mae.sss.ParamDialog.
 
ParamDialog(Frame) - Constructor for class mae.sss.ParamDialog
 
Parser - class mae.expr.Parser.
Syntax phase: read tokens and generate syntax tree.
Parser(String) - Constructor for class mae.expr.Parser
Constructs an instance, using s as the input
Parser - class mae.mj3.Parser.
Syntax analysis phase for a mJ file; makes a syntax tree
Parser.Exception - exception mae.mj3.Parser.Exception.
Signals a compiler error
Parser.Exception(String) - Constructor for class mae.mj3.Parser.Exception
 
PropertyManager - class mae.util.PropertyManager.
Loads and saves Properties, with support for Color, Font, Bounds.
PropertyManager(String) - Constructor for class mae.util.PropertyManager
Returns an instance, using file p.EXT in the directory where VM is started with no defaults.
PropertyManager(String, Class) - Constructor for class mae.util.PropertyManager
Returns an instance, using file p.EXT in the directory where VM is started, with defaults together with caller class.
PropertyManager(String, String, Class) - Constructor for class mae.util.PropertyManager
Returns an instance, using file f/p.EXT in the home directory of the user.
paint(Graphics) - Method in class mae.sss.InspectorPanel
 
parse() - Method in class mae.expr.Parser
The heart of this package.
parse() - Method in class mae.mj3.MicroJ1
 
parse() - Method in class mae.mj3.MicroJ3
 
parse() - Method in class mae.mj3.Parser
Parses the source and returns its syntax tree
println(Object) - Static method in class mae.sss.DemoMenu
Prints the object into system output
println(Object) - Static method in class mae.sss.Menu
Prints the object into system output

R

READ - Static variable in interface mae.mj3.MJ
 
REL_EQ - Static variable in interface mae.mj3.MJ
 
REL_GE - Static variable in interface mae.mj3.MJ
 
REL_GT - Static variable in interface mae.mj3.MJ
 
REL_LE - Static variable in interface mae.mj3.MJ
 
REL_LT - Static variable in interface mae.mj3.MJ
 
REL_MAX - Static variable in interface mae.mj3.MJ
 
REL_MIN - Static variable in interface mae.mj3.MJ
 
REL_NE - Static variable in interface mae.mj3.MJ
 
REL_STR - Static variable in interface mae.mj3.MJ
 
RETURN - Static variable in interface mae.mj3.MJ
 
RIGHT - Static variable in interface mae.expr.CONSTANTS
Right parenthesis
RIGHT - Static variable in interface mae.mj3.MJ
 
Rational - class mae.tut.num.Rational.
Represents a rational number, implemented as num/den.
Rational(long, long) - Constructor for class mae.tut.num.Rational
Use factory method Factory.newRational(long,long), rather than this constructor
read() - Method in class mae.util.DialogInputStream
Reads and returns one byte
read(byte[], int, int) - Method in class mae.util.DialogInputStream
Reads at most n bytes into b[off]
redirect() - Static method in class mae.util.DialogInputStream
Returns a new instance
redirect(Component) - Static method in class mae.util.DialogInputStream
Returns a new instance, using c as the parent for JDialog
redirect(JTextArea) - Static method in class mae.util.TextAreaPrintStream
Makes a new instance and redirects system output
redirect(Applet, String) - Static method in class mae.util.VersionChecker
 
remove(Object) - Method in class mae.util.ArrayListModel
 
remove(int) - Method in class mae.util.ArrayListModel
 
removeAll(Collection) - Method in class mae.util.ArrayListModel
 
removeRange(int, int) - Method in class mae.util.ArrayListModel
 
rename() - Method in class mae.sss.Inspector
 
renameObject(Object, String) - Method in class mae.sss.Inspector
 
reset() - Method in class mae.util.Console
Resets system input/output
retainAll(Collection) - Method in class mae.util.ArrayListModel
 
run() - Method in class mae.mj3.Interpreter
Runs the Program; indirectly called by start()
run() - Method in class mae.mj3.MJ.Program
Starts a new Thread to run this program
run() - Method in interface mae.mj3.Statement
Executes this statement

S

SEMICOL - Static variable in interface mae.mj3.MJ
 
SLASH - Static variable in interface mae.expr.CONSTANTS
 
SLASH - Static variable in interface mae.mj3.MJ
 
SSS - class mae.sss.SSS.
 
STAR - Static variable in interface mae.expr.CONSTANTS
 
STAR - Static variable in interface mae.mj3.MJ
 
Sampler - class mae.expr.Sampler.
Simple GUI for expressions.
Sampler() - Constructor for class mae.expr.Sampler
Sole constructor: called from main() or as Applet
Scanner - class mae.expr.Scanner.
Lexical phase: scan input and return tokens.
Scanner(String) - Constructor for class mae.expr.Scanner
Constructs an instance, using s as the input
Scanner - class mae.mj3.Scanner.
Lexical analysis phase for a mJ file
SimpleFilter - class mae.util.SimpleFilter.
Used in file selection, checks for a given extension
SimpleFilter(String, String, String) - Constructor for class mae.util.SimpleFilter
 
SimpleFilter(String, String) - Constructor for class mae.util.SimpleFilter
 
Small - class mae.util.Small.
A small application with a JFrame and several JComponents
Small() - Constructor for class mae.util.Small
Makes a JFrame and several JComponents, all accessible as public fields
Statement - interface mae.mj3.Statement.
Defines a mJ statement; implementations are not public
sample - Static variable in class mae.mj3.Scanner
Sample String for testing the class
sample - Static variable in class mae.mj3.Util
 
sample - Static variable in class mae.sss.Demo
 
save(String) - Static method in class mae.sss.More
Saves a String into a text file
save() - Method in class mae.util.Console
Saves the contents into a text file
save(String) - Method in class mae.util.PropertyManager
Saves first level Properties object, with one-line comment desc
saveResult(File) - Method in class mae.mj3.Translator
Saves the result in specified directory
set(int, Object) - Method in class mae.util.ArrayListModel
 
setBounds(String, Rectangle) - Method in class mae.util.PropertyManager
Sets a Rectangle property with name d, value r
setColor(String, Color) - Method in class mae.util.PropertyManager
Sets a Color property with name d, value c
setData(List, String) - Method in class mae.sss.ClassChooser
 
setFont(Font) - Method in class mae.sss.FontDialog
Set current font
setFont(int, Font) - Method in class mae.sss.InspectorPanel
 
setFont(String, Font) - Method in class mae.util.PropertyManager
Sets a Font property with name d, value f
setIcon(JFrame, String) - Static method in class mae.util.PropertyManager
Sets Icon for f, using image with name s
setMessage(String) - Method in class mae.util.Console
Sets message to be used in subsequent read operations.
setMessage(String) - Method in class mae.util.DialogInputStream
Sets message to be used in subsequent read operations.
setPosition(int, int) - Method in class mae.mj3.MJ.Node
Sets first and last char positions (for error reporting)
show() - Method in class mae.sss.FontDialog
First Button is selected upon entry
show(TreePanel) - Static method in class mae.util.TreePanel
 
showTime() - Method in class mae.util.TimerLoader
 
size() - Method in class mae.util.ArrayListModel
 
sort(Object[]) - Static method in class mae.sss.DemoMenu
Sort the array in ascending order.
sort(Object[]) - Static method in class mae.sss.More
Sort the array in ascending order.
start() - Method in class mae.util.Console
Redirects system input/output
stopRunning() - Method in class mae.mj3.Interpreter
Signals this Thread to stop; invoked by another Thread
store(OutputStream, String) - Method in class mae.util.PropertyManager
Stores first level Properties object, overrides store()
streamContents(InputStream) - Static method in class mae.util.TreePanel
 
subList(int, int) - Method in class mae.util.ArrayListModel
 

T

TO - Static variable in interface mae.mj3.MJ
 
TextAreaPrintStream - class mae.util.TextAreaPrintStream.
Redirects system output to a JTextArea.
TimerLoader - class mae.util.TimerLoader.
Loads classes with a given URL, keeps a list and time.
TinyButton - class mae.util.TinyButton.
A tiny button which appears the same in all L&F's
TinyButton() - Constructor for class mae.util.TinyButton
Creates new TinyButton
TinyButton(String) - Constructor for class mae.util.TinyButton
Creates new TinyButton with a given name
ToJava - class mae.mj3.ToJava.
A Translator implementation for Java language
ToJava() - Constructor for class mae.mj3.ToJava
 
ToPascal - class mae.mj3.ToPascal.
A Translator implementation for Pascal language
ToPascal() - Constructor for class mae.mj3.ToPascal
 
Translator - class mae.mj3.Translator.
This is a perfect example of Visitor design pattern.
Translator() - Constructor for class mae.mj3.Translator
 
TreePanel - class mae.util.TreePanel.
Makes a tree structure and displays it as a JTree
TreePanel(File) - Constructor for class mae.util.TreePanel
 
TreePanel(String) - Constructor for class mae.util.TreePanel
 
TreePanel(ZipFile) - Constructor for class mae.util.TreePanel
 
TreePanel(Component) - Constructor for class mae.util.TreePanel
 
TreePanel(TreeNode) - Constructor for class mae.util.TreePanel
 
text - Variable in class mae.util.Small
 
title - Static variable in class mae.sss.Inspector
 
toArray(Enumeration) - Static method in class mae.sss.More
Shows the contents of an Enumeration as an array of Objects
toArray(Iterator) - Static method in class mae.sss.More
Shows the contents of an Iterator as an array of Objects
toArray() - Method in class mae.util.ArrayListModel
 
toArray(Object[]) - Method in class mae.util.ArrayListModel
 
toComplex(Number) - Static method in class mae.tut.num.Complex
Converts Number n into Complex, if not already Complex
toFrame(Container) - Static method in class mae.sss.DemoMenu
If the Container (possibly JComponent) is already on a Frame, returns it.
toFrame(Container) - Static method in class mae.sss.Menu
If the Container (possibly JComponent) is already on a Frame, returns it.
toHTML() - Method in class mae.util.ClassSummary
Returns a full description in HTML format by invoking description(true);
toIcon(File) - Static method in class mae.sss.More
Read a picture (jpg, gif, png) into an ImageIcon.
toJava(MJ.Program) - Static method in class mae.mj3.Util
Factory method to make a Java Translator
toMatrix(Number) - Static method in class mae.tut.num.Matrix
Converts Number n into Matrix, if not already Matrix
toPascal(MJ.Program) - Static method in class mae.mj3.Util
Factory method to make a Pascal Translator
toPolar() - Method in class mae.tut.num.Complex
String representation of this Number in polar coordinates
toPostfix() - Method in class mae.expr.Binary
 
toPostfix() - Method in class mae.expr.Constant
 
toPostfix() - Method in interface mae.expr.Expression
Converts this Expression to postfix (RPN)
toString() - Method in class mae.expr.Binary
 
toString() - Method in class mae.expr.Constant
 
toString() - Method in interface mae.expr.Expression
String representation of this Expression
toString() - Method in class mae.expr.Scanner
String representation of the current token
toString() - Method in interface mae.mj3.Expression
String representation for this expression
toString() - Method in class mae.mj3.MJ.Method
 
toString() - Method in class mae.mj3.MJ.Node
String representation of this node
toString() - Method in class mae.mj3.MJ.Program
 
toString() - Method in class mae.mj3.Scanner
String representation of the current token
toString() - Method in class mae.tut.num.Complex
String representation of this Number in cartesian coordinates
toString() - Method in class mae.tut.num.Decimal
String representation of this Number
toString() - Method in class mae.tut.num.Matrix
String representation of this Number as an array of four floats
toString() - Method in class mae.tut.num.Rational
String representation of this Number
toString() - Method in class mae.tut.num.Whole
String representation of this Number
toString() - Method in class mae.util.ArrayListModel
 
toString() - Method in class mae.util.ClassSummary
Returns a short description for this class: access, name, super class.
toString() - Method in class mae.util.TimerLoader
 
toTree() - Method in class mae.expr.Binary
 
toTree() - Method in class mae.expr.Constant
 
toTree() - Method in interface mae.expr.Expression
Converts this Expression to tree **implement this**.
toTree(Container) - Static method in class mae.sss.DemoMenu
Shows the containment hierarchy of Container c (possibly JComponent).
toTree(File) - Static method in class mae.sss.Menu
Shows the contents of a directory, or a zip/jar file If f is a zip/jar archive, its contents are displayed.
toTree(TreeNode) - Static method in class mae.sss.Menu
Shows the contents of a TreeNode; returns an array of nodes
toTree(Container) - Static method in class mae.sss.Menu
Shows the containment hierarchy of Container c (possibly JComponent).
toZipFile(File) - Static method in class mae.sss.More
Get a zip/jar file, useful in toZipEntries(ZipFile)
translate(MJ.Program) - Method in class mae.mj3.ToJava
 
translate(MJ.Method) - Method in class mae.mj3.ToJava
 
translate(Declaration) - Method in class mae.mj3.ToJava
 
translate(Assignment) - Method in class mae.mj3.ToJava
 
translate(PrintStat) - Method in class mae.mj3.ToJava
 
translate(ReadStat) - Method in class mae.mj3.ToJava
 
translate(ForStat) - Method in class mae.mj3.ToJava
 
translate(WhileStat) - Method in class mae.mj3.ToJava
 
translate(IfStat) - Method in class mae.mj3.ToJava
 
translate(ElseStat) - Method in class mae.mj3.ToJava
 
translate(Invocation) - Method in class mae.mj3.ToJava
 
translate(Invocation.Return) - Method in class mae.mj3.ToJava
 
translate(MJ.Program) - Method in class mae.mj3.ToPascal
 
translate(MJ.Method) - Method in class mae.mj3.ToPascal
 
translate(Declaration) - Method in class mae.mj3.ToPascal
 
translate(Assignment) - Method in class mae.mj3.ToPascal
 
translate(PrintStat) - Method in class mae.mj3.ToPascal
 
translate(ReadStat) - Method in class mae.mj3.ToPascal
 
translate(ForStat) - Method in class mae.mj3.ToPascal
 
translate(WhileStat) - Method in class mae.mj3.ToPascal
 
translate(IfStat) - Method in class mae.mj3.ToPascal
 
translate(ElseStat) - Method in class mae.mj3.ToPascal
 
translate(Invocation) - Method in class mae.mj3.ToPascal
 
translate(Invocation.Return) - Method in class mae.mj3.ToPascal
 
translate(MJ.Program) - Method in class mae.mj3.Translator
Translates a mJ Program using this Translator
translate(MJ.Method) - Method in class mae.mj3.Translator
 
translate(Declaration) - Method in class mae.mj3.Translator
 
translate(Assignment) - Method in class mae.mj3.Translator
 
translate(PrintStat) - Method in class mae.mj3.Translator
 
translate(ReadStat) - Method in class mae.mj3.Translator
 
translate(ForStat) - Method in class mae.mj3.Translator
 
translate(WhileStat) - Method in class mae.mj3.Translator
 
translate(IfStat) - Method in class mae.mj3.Translator
 
translate(ElseStat) - Method in class mae.mj3.Translator
 
translate(Invocation) - Method in class mae.mj3.Translator
 
translate(Invocation.Return) - Method in class mae.mj3.Translator
 

U

UNDER - Static variable in interface mae.mj3.MJ
 
Util - class mae.mj3.Util.
Static utility methods
url - Variable in class mae.util.TimerLoader
 

V

VAR - Static variable in interface mae.mj3.MJ
 
VERSION - Static variable in interface mae.mj3.MJ
 
VersionChecker - class mae.util.VersionChecker.
Checks Java VM version, shows a dialog if not valid
VersionChecker(String, String) - Constructor for class mae.util.VersionChecker
 
value() - Method in class mae.tut.num.Complex
Distance to origin (rho)
value() - Method in class mae.tut.num.Decimal
 
value() - Method in class mae.tut.num.Matrix
Returns square root of the determinant of this Matrix
value() - Method in class mae.tut.num.Number
Returns the float value of this Number.
value() - Method in class mae.tut.num.Rational
 
valueChanged(ListSelectionEvent) - Method in class mae.util.Small
 
version() - Static method in class mae.sss.DemoMenu
Shows SSS version (splash screen)
version - Static variable in class mae.sss.Inspector
 
version() - Static method in class mae.sss.Menu
Shows SSS version (splash screen)
vm() - Method in class mae.mj3.MJ.Node
Returns running Thread as an Interpreter

W

WHILE - Static variable in interface mae.mj3.MJ
 
Whole - class mae.tut.num.Whole.
Represents an integer, implemented as a rational with den=1.
Whole(long) - Constructor for class mae.tut.num.Whole
Use factory method Factory.newWhole(long), rather than this constructor
windowClosing(WindowEvent) - Method in class mae.util.VersionChecker
 
write(int) - Method in class mae.util.TextAreaPrintStream
Appends (char)b into the JTextArea
write(byte[], int, int) - Method in class mae.util.TextAreaPrintStream
Appends a String into the JTextArea

X

XMP - Static variable in interface mae.mj3.MJ
 
xxMore() - Static method in class mae.sss.Menu
(More actions -- see More)

A B C D E F G H I K L M N O P R S T U V W X