Skip to content

usf-cs212-spring2021/homework-TextFileIndex-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextFileIndex

Points

For this homework, you will create a class that implements the SimpleIndex interface and provide a missing default implementation in the SimpleIndex interface. 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 SimpleIndex interface in the TextFileIndex class.

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

  • 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 (which is an inverted index, and this homework is a forward index).

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.