A B C D E F G H I L M N O P Q R S T U V W Y 
All Classes All Packages

A

absolutePath - Variable in class edu.odu.cs.cs350.Refactoring
 
ADD - edu.odu.cs.cs350.TokenType
 
AND_SYMBOL - edu.odu.cs.cs350.TokenType
 
ASSIGN_OP - edu.odu.cs.cs350.TokenType
 
AT_SYMBOL - edu.odu.cs.cs350.TokenType
 

B

BOOL - edu.odu.cs.cs350.TokenType
 
BREAK - edu.odu.cs.cs350.TokenType
 

C

CERR - edu.odu.cs.cs350.TokenType
 
CIN - edu.odu.cs.cs350.TokenType
 
CLASS - edu.odu.cs.cs350.TokenType
 
COLON - edu.odu.cs.cs350.TokenType
 
columnNumber - Variable in class edu.odu.cs.cs350.Refactoring
 
COMMA - edu.odu.cs.cs350.TokenType
 
compareTo(Refactoring) - Method in class edu.odu.cs.cs350.Refactoring
 
CONST - edu.odu.cs.cs350.TokenType
 
CONSTANT_NUMBERS - edu.odu.cs.cs350.TokenType
 
CONTINUE - edu.odu.cs.cs350.TokenType
 
COUT - edu.odu.cs.cs350.TokenType
 

D

DECREMENT - edu.odu.cs.cs350.TokenType
 
DEFAULT - edu.odu.cs.cs350.TokenType
 
DELETE - edu.odu.cs.cs350.TokenType
 
DIVIDE - edu.odu.cs.cs350.TokenType
 
DO - edu.odu.cs.cs350.TokenType
 
DOUBLE - edu.odu.cs.cs350.TokenType
 
DupDetector - Class in edu.odu.cs.cs350
DupDetector is the main class for the system.
DupDetector() - Constructor for class edu.odu.cs.cs350.DupDetector
 

E

edu.odu.cs.cs350 - package edu.odu.cs.cs350
 
edu.odu.cs.cs350.Interfaces - package edu.odu.cs.cs350.Interfaces
 
ELSE - edu.odu.cs.cs350.TokenType
 
ELSE_IF - edu.odu.cs.cs350.TokenType
 
ENDL - edu.odu.cs.cs350.TokenType
 
ENUM - edu.odu.cs.cs350.TokenType
 
EOF - edu.odu.cs.cs350.TokenType
 
EQ_EQ - edu.odu.cs.cs350.TokenType
 

F

FALSE - edu.odu.cs.cs350.TokenType
 
FINAL - edu.odu.cs.cs350.TokenType
 
findFiles(String) - Method in class edu.odu.cs.cs350.RecursiveSearch
findFiles recursively searches a given file path using properties loaded from a property file (.ini) and check if the file path ends with a directory
findFiles(String, List<String>) - Method in class edu.odu.cs.cs350.RecursiveSearch
findFiles recursively searches a given file path using properties loaded from a property file (.ini) and check if the file path ends with a directory
FLOAT - edu.odu.cs.cs350.TokenType
 
FOR - edu.odu.cs.cs350.TokenType
 

G

GEQ - edu.odu.cs.cs350.TokenType
 
getAbsolutePath() - Method in interface edu.odu.cs.cs350.Interfaces.RefactoringInterface
 
getAbsolutePath() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
getAbsolutePath() - Method in class edu.odu.cs.cs350.Refactoring
 
getAbsolutePath() - Method in class edu.odu.cs.cs350.Token
 
getColumnNumber() - Method in interface edu.odu.cs.cs350.Interfaces.RefactoringInterface
 
getColumnNumber() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
getColumnNumber() - Method in class edu.odu.cs.cs350.Refactoring
 
getColumnNumber() - Method in class edu.odu.cs.cs350.Token
 
getCompleteOutput() - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
getCompleteOutput() - Method in class edu.odu.cs.cs350.Output
Cocatenates the strings for Section 1 and Section 2.
getfileExtensions() - Method in class edu.odu.cs.cs350.Input
 
getfileExtensions() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getFiles() - Method in class edu.odu.cs.cs350.Input
 
getFiles() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getFiles() - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
getFiles() - Method in class edu.odu.cs.cs350.Output
 
getFileTokenCount() - Method in class edu.odu.cs.cs350.TokenAnalyzer
 
getInput() - Static method in class edu.odu.cs.cs350.DupDetector
 
getLexeme() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
getLexeme() - Method in class edu.odu.cs.cs350.Token
 
getLineNumber() - Method in interface edu.odu.cs.cs350.Interfaces.RefactoringInterface
 
getLineNumber() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
getLineNumber() - Method in class edu.odu.cs.cs350.Refactoring
 
getLineNumber() - Method in class edu.odu.cs.cs350.Token
 
getMaxRefactoringSize() - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
getMaxRefactoringSize() - Method in class edu.odu.cs.cs350.Recommender
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
getMaxSubstitutions() - Method in class edu.odu.cs.cs350.Input
 
getMaxSubstitutions() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getMinRefactoringSize() - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
getMinRefactoringSize() - Method in class edu.odu.cs.cs350.Recommender
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
getMinSequenceLength() - Method in class edu.odu.cs.cs350.Input
 
getMinSequenceLength() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getNSuggestions() - Method in class edu.odu.cs.cs350.Input
 
getNSuggestions() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getNumberOfTokens() - Method in interface edu.odu.cs.cs350.Interfaces.RefactoringInterface
 
getNumberOfTokens() - Method in class edu.odu.cs.cs350.Refactoring
 
getOpportunityValue() - Method in interface edu.odu.cs.cs350.Interfaces.RefactoringInterface
 
getOpportunityValue() - Method in class edu.odu.cs.cs350.Refactoring
 
getOutput() - Static method in class edu.odu.cs.cs350.DupDetector
 
getRecommender() - Static method in class edu.odu.cs.cs350.DupDetector
 
getRefactorings() - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
getRefactorings() - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
The primary functionality for recommender.
getRefactorings() - Method in class edu.odu.cs.cs350.Output
 
getRefactorings() - Method in class edu.odu.cs.cs350.Recommender
If no refactorings have been created, create them.
getRefactoringsToPrint() - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
getRefactoringsToPrint() - Method in class edu.odu.cs.cs350.Output
 
getSectionOne() - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
getSectionOne() - Method in class edu.odu.cs.cs350.Output
 
getSectionTwo() - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
getSectionTwo() - Method in class edu.odu.cs.cs350.Output
 
getTokenCountForFile(File) - Method in class edu.odu.cs.cs350.Input
 
getTokenCountForFile(File) - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getTokenCountForFiles() - Method in class edu.odu.cs.cs350.Input
Key: a File object Value: an Integer object reprsenting the total tokens in that File.
getTokenCountForFiles() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
Key: a File object Value: an Integer object reprsenting the total tokens in that File.
getTokenList() - Method in interface edu.odu.cs.cs350.Interfaces.RefactoringInterface
 
getTokenList() - Method in class edu.odu.cs.cs350.Refactoring
 
getTokens() - Method in class edu.odu.cs.cs350.Input
 
getTokens() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
 
getTokens() - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
 
getTokens() - Method in class edu.odu.cs.cs350.Recommender
 
getTokens() - Method in class edu.odu.cs.cs350.TokenAnalyzer
 
getTokenType() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
getTokenType() - Method in class edu.odu.cs.cs350.Token
 
GT - edu.odu.cs.cs350.TokenType
 

H

HASH_SYMBOL - edu.odu.cs.cs350.TokenType
 

I

IDENTIFIER - edu.odu.cs.cs350.TokenType
 
IF - edu.odu.cs.cs350.TokenType
 
INCLUDE - edu.odu.cs.cs350.TokenType
 
INCREMENT - edu.odu.cs.cs350.TokenType
 
INHERETS - edu.odu.cs.cs350.TokenType
 
INLINE - edu.odu.cs.cs350.TokenType
 
Input - Class in edu.odu.cs.cs350
Input file will be invoked using command line arguments.
InputInterface - Interface in edu.odu.cs.cs350.Interfaces
 
INT - edu.odu.cs.cs350.TokenType
 
IOSTREAM - edu.odu.cs.cs350.TokenType
 
ISTREAM - edu.odu.cs.cs350.TokenType
 
iterator() - Method in class edu.odu.cs.cs350.TokenAnalyzer
Return an iterator over the list of tokens.

L

LEFT_BRACE - edu.odu.cs.cs350.TokenType
 
LEFT_BRACKET - edu.odu.cs.cs350.TokenType
 
LEFT_PAREN - edu.odu.cs.cs350.TokenType
 
LEQ - edu.odu.cs.cs350.TokenType
 
LexerAnalyzer - Class in edu.odu.cs.cs350
 
LexerAnalyzer(Reader) - Constructor for class edu.odu.cs.cs350.LexerAnalyzer
Creates a new scanner
lineNumber - Variable in class edu.odu.cs.cs350.Refactoring
 
LONG - edu.odu.cs.cs350.TokenType
 
LT - edu.odu.cs.cs350.TokenType
 

M

main(String[]) - Static method in class edu.odu.cs.cs350.DupDetector
 
MODULO - edu.odu.cs.cs350.TokenType
 
MULTIPLY - edu.odu.cs.cs350.TokenType
 

N

NAMESPACE - edu.odu.cs.cs350.TokenType
 
NEW - edu.odu.cs.cs350.TokenType
 
NOT_EQUAL - edu.odu.cs.cs350.TokenType
 
NOT_SYMBOL - edu.odu.cs.cs350.TokenType
 
numberOfTokens - Variable in class edu.odu.cs.cs350.Refactoring
 

O

opportunityValue - Variable in class edu.odu.cs.cs350.Refactoring
 
OR_SYMBOL - edu.odu.cs.cs350.TokenType
 
OSTREAM - edu.odu.cs.cs350.TokenType
 
Output - Class in edu.odu.cs.cs350
Output contains all of the functionality to format and print to the console the complete output of the program.
Output() - Constructor for class edu.odu.cs.cs350.Output
The default constructor for Output.
Output(InputInterface, RecommenderInterface) - Constructor for class edu.odu.cs.cs350.Output
Constructs an Output object using Input and Recommender objects.
OutputInterface - Interface in edu.odu.cs.cs350.Interfaces
Output contains all of the functionality to format and print to the console the complete output of the program.
OVERRIDE - edu.odu.cs.cs350.TokenType
 

P

PERIOD - edu.odu.cs.cs350.TokenType
 
printToken() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
printToken() - Method in class edu.odu.cs.cs350.Token
 
processSourceCode() - Method in class edu.odu.cs.cs350.TokenAnalyzer
Divides source codes into tokens.
PUBLIC - edu.odu.cs.cs350.TokenType
 

Q

QUESTION_MARK - edu.odu.cs.cs350.TokenType
 

R

Recommender - Class in edu.odu.cs.cs350
Taking as input a list of tokens which represents a string of tokens taken from all files that the Input processed.
RecommenderInterface - Interface in edu.odu.cs.cs350.Interfaces
Taking as input a list of tokens which represents a string of tokens taken from all files that the Input processed.
RecursiveSearch - Class in edu.odu.cs.cs350
 
RecursiveSearch() - Constructor for class edu.odu.cs.cs350.RecursiveSearch
 
Refactoring - Class in edu.odu.cs.cs350
A refactoring object contains the information needed by Output to print the refactoring suggestion and its associated metadata.
Refactoring(List<? extends TokenInterface>, int) - Constructor for class edu.odu.cs.cs350.Refactoring
 
Refactoring(List<TokenInterface>, List<TokenInterface>) - Constructor for class edu.odu.cs.cs350.Refactoring
 
RefactoringInterface - Interface in edu.odu.cs.cs350.Interfaces
A refactoring object contains the information needed by Output to print the refactoring suggestion and its associated metadata.
REFERENCE_SYM - edu.odu.cs.cs350.TokenType
 
RETURN - edu.odu.cs.cs350.TokenType
 
RIGHT_BRACE - edu.odu.cs.cs350.TokenType
 
RIGHT_BRACKET - edu.odu.cs.cs350.TokenType
 
RIGHT_PAREN - edu.odu.cs.cs350.TokenType
 

S

SCOPE_OP - edu.odu.cs.cs350.TokenType
 
searchDirectory(String) - Method in class edu.odu.cs.cs350.RecursiveSearch
searchDirectory recursively searches a given file and check if the file path ends with a directory
SEMI_COLON - edu.odu.cs.cs350.TokenType
 
setAbsolutePath(String) - Method in class edu.odu.cs.cs350.Token
 
setFileExtensions() - Method in class edu.odu.cs.cs350.Input
Sets file extension to default.
setFileExtensions() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
Sets file extension to default.
setFileExtensions(File) - Method in class edu.odu.cs.cs350.Input
Sets the file extension to those listed in properties.ini.
setFileExtensions(File) - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
Sets the file extension to those listed in properties.ini.
setFiles(List<File>) - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
setFiles(List<File>) - Method in class edu.odu.cs.cs350.Output
Sets the list of files that will be output in Section 1 of the final output.
setInput(Input) - Static method in class edu.odu.cs.cs350.DupDetector
Sets input to an arbitrary Input object.
setInput(String[]) - Static method in class edu.odu.cs.cs350.DupDetector
Uses the input constructor to produce the data from args.
setMaxRefactoringSize() - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMaxRefactoringSize() - Method in class edu.odu.cs.cs350.Recommender
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMaxRefactoringSize(int) - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMaxRefactoringSize(int) - Method in class edu.odu.cs.cs350.Recommender
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMinRefactoringSize() - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMinRefactoringSize() - Method in class edu.odu.cs.cs350.Recommender
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMinRefactoringSize(int) - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMinRefactoringSize(int) - Method in class edu.odu.cs.cs350.Recommender
Recommended refactorings should be greater than minRefactoringSize but less than maxRefactoringSize, inclusive.
setMinSequenceMaxSubs() - Method in class edu.odu.cs.cs350.Input
Sets properties value to default defined in the SRD.
setMinSequenceMaxSubs() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
Sets properties value to default defined in the SRD.
setMinSequenceMaxSubs(File) - Method in class edu.odu.cs.cs350.Input
Sets the properties value for minimum sequence length and maxs substitution defined in the properties file.
setMinSequenceMaxSubs(File) - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
Sets the properties value for minimum sequence length and maxs substitution defined in the properties file.
setOutput(Input, Recommender) - Static method in class edu.odu.cs.cs350.DupDetector
Sets output to an arbitrary Output object based on input and recommender.
setOutput(Output) - Static method in class edu.odu.cs.cs350.DupDetector
Sets output to an arbitrary Output object.
setRecommender(Recommender) - Static method in class edu.odu.cs.cs350.DupDetector
Sets recommender to an arbitrary Recommender object.
setRefactorings(List<? extends RefactoringInterface>) - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
setRefactorings(List<? extends RefactoringInterface>) - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Sets recommender's list of refactorings to a pre-existing refactoring list.
setRefactorings(List<? extends RefactoringInterface>) - Method in class edu.odu.cs.cs350.Output
 
setRefactorings(List<? extends RefactoringInterface>) - Method in class edu.odu.cs.cs350.Recommender
Sets recommender's list of refactorings to a pre-existing refactoring list.
setRefactoringsToPrint(int) - Method in interface edu.odu.cs.cs350.Interfaces.OutputInterface
 
setRefactoringsToPrint(int) - Method in class edu.odu.cs.cs350.Output
 
setTokens() - Method in class edu.odu.cs.cs350.Input
Generates the token list.
setTokens() - Method in interface edu.odu.cs.cs350.Interfaces.InputInterface
Generates the token list.
setTokens(List<? extends TokenInterface>) - Method in interface edu.odu.cs.cs350.Interfaces.RecommenderInterface
Sets the list of tokens from which recommendations are generated to the input list parameter.
setTokens(List<? extends TokenInterface>) - Method in class edu.odu.cs.cs350.Recommender
Sets the list of tokens from which recommendations are generated to the input list parameter.
SIZEOF - edu.odu.cs.cs350.TokenType
 
STD - edu.odu.cs.cs350.TokenType
 
STRING - edu.odu.cs.cs350.TokenType
 
STRING - Static variable in class edu.odu.cs.cs350.LexerAnalyzer
 
STRING_LITERAL - edu.odu.cs.cs350.TokenType
 
SUBTRACT - edu.odu.cs.cs350.TokenType
 
SWITCH - edu.odu.cs.cs350.TokenType
 

T

TILDA - edu.odu.cs.cs350.TokenType
 
Token - Class in edu.odu.cs.cs350
Token file contains the information needed for a token defined in the TokenType class.
Token(TokenType, int, int) - Constructor for class edu.odu.cs.cs350.Token
 
Token(TokenType, int, int, String) - Constructor for class edu.odu.cs.cs350.Token
 
TokenAnalyzer - Class in edu.odu.cs.cs350
TokenAnalyzer analyzes each lexemes in the given file and determines the type of token.
TokenAnalyzer() - Constructor for class edu.odu.cs.cs350.TokenAnalyzer
The default constructor for token analyzer.
TokenAnalyzer(File) - Constructor for class edu.odu.cs.cs350.TokenAnalyzer
 
TokenAnalyzer(Reader) - Constructor for class edu.odu.cs.cs350.TokenAnalyzer
The constructor for analyzing tokens in a file given by the parameter.
TokenInterface - Interface in edu.odu.cs.cs350.Interfaces
Token file contains the information needed for a token defined in the TokenType class.
tokenList - Variable in class edu.odu.cs.cs350.Refactoring
 
TokenType - Enum in edu.odu.cs.cs350
Covers some of C++ token types.
toString() - Method in interface edu.odu.cs.cs350.Interfaces.TokenInterface
 
toString() - Method in class edu.odu.cs.cs350.Refactoring
 
toString() - Method in class edu.odu.cs.cs350.Token
Representation of the token in two format according to the use of constructor.
toString() - Method in class edu.odu.cs.cs350.TokenAnalyzer
For debugging purposes.
TRUE - edu.odu.cs.cs350.TokenType
 

U

USING - edu.odu.cs.cs350.TokenType
 

V

valueOf(String) - Static method in enum edu.odu.cs.cs350.TokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.odu.cs.cs350.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
VIRTUAL - edu.odu.cs.cs350.TokenType
 
VOID - edu.odu.cs.cs350.TokenType
 

W

WHILE - edu.odu.cs.cs350.TokenType
 

Y

yyatEOF() - Method in class edu.odu.cs.cs350.LexerAnalyzer
Returns whether the scanner has reached the end of the reader it reads from.
yybegin(int) - Method in class edu.odu.cs.cs350.LexerAnalyzer
Enters a new lexical state.
yycharat(int) - Method in class edu.odu.cs.cs350.LexerAnalyzer
Returns the character at the given position from the matched text.
yyclose() - Method in class edu.odu.cs.cs350.LexerAnalyzer
Closes the input reader.
YYEOF - Static variable in class edu.odu.cs.cs350.LexerAnalyzer
This character denotes the end of file.
YYINITIAL - Static variable in class edu.odu.cs.cs350.LexerAnalyzer
 
yylength() - Method in class edu.odu.cs.cs350.LexerAnalyzer
How many characters were matched.
yylex() - Method in class edu.odu.cs.cs350.LexerAnalyzer
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
yypushback(int) - Method in class edu.odu.cs.cs350.LexerAnalyzer
Pushes the specified amount of characters back into the input stream.
yyreset(Reader) - Method in class edu.odu.cs.cs350.LexerAnalyzer
Resets the scanner to read from a new input stream.
yystate() - Method in class edu.odu.cs.cs350.LexerAnalyzer
Returns the current lexical state.
yytext() - Method in class edu.odu.cs.cs350.LexerAnalyzer
Returns the text matched by the current regular expression.
A B C D E F G H I L M N O P Q R S T U V W Y 
All Classes All Packages