import java.util.List; import java.util.Map; import java.util.Scanner; /** * The way to use this class with your code: * * * * ===========================================================================

*

* class Entry represents one object (a "paragraph") taken from a gRUe-database. * See http://ru-itec120.pbwiki.com/grue-data-2007fall * for a gRUe-database file (which include comments explaining its syntax). *

*

* If you want to modify class Entry, here is some info on how it's organized: *

* *

* Vocabulary: *

* *

* You can ask an Entry what its type is, and you can also give it a * key (a String, like "description") and have it return * the associated value (another string, like "fa la la"). * This lookup is implemented by java.util.Map (built just for such tasks). *

* *