Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package edu.kettering.rive5235.Dictionary.Definitions;
- import java.util.LinkedList;
- /**
- **************************************************************
- * Micholas Rivera *
- * Login ID: rive5235 *
- * CS-102, Fall 2017 *
- * This class exists solely because *
- * DefinitionListWrapperList is easy on my eyes and *
- * LinkedList<LinkedList<DefintionList>> isn't *
- * Yes, they aren't equivelent, but equal trades - nonetheless*
- **************************************************************
- */
- public class DefinitionListWrapper {
- private DefinitionListWrapper(){}
- // The list of definitions
- private LinkedList<Definition> definitionList;
- public void addDefinition(Definition definition) {
- asjkdh
- }
- public LinkedList<Definition> getDefinitionList() {
- return definitionList;
- }
- public void printAll() {
- for (Definition definition : definitionList)
- System.out.print(definition.toString());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement