Skip to content

usf-cs272-spring2022/homework-TextFileIndex-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextFileIndex

Points

For this homework, you will create a class that implements the ForwardIndex interface and provide a missing default implementations in the ForwardIndex interface itself. See the Javadoc comments in the template code for additional details.

Hints

Below are some hints that may help with this homework assignment:

  • The code will not compile until you implement the ForwardIndex interface in the TextFileIndex class for Path objects properly.

  • When creating a default implementation, you can call other methods in the interface even if they are not implemented.

  • Do not @Override the default methods in ForwardIndex in the TextFileIndex class.

  • You do not need to provide Javadoc comments for inherited methods.

  • Most of the implementations require 1 to 3 lines of code.

  • This homework helps you think about design for the project, but should not be used directly in your project. Your project requires an inverted index (the word is indexed), and this homework is a forward index (the location is indexed).

These hints are optional. There may be multiple approaches to solving this homework.

Requirements

See the Javadoc and TODO comments in the template code in the src/main/java directory for additional details. You must pass the tests provided in the src/test/java directory. Do not modify any of the files in the src/test directory.

See the Homework Guides for additional details on homework requirements and submission.

About

TextFileIndex

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages