Advertisement
stormtrooper28

Backup CS Project 3 Class

Nov 8th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. package edu.kettering.rive5235.Dictionary.Definitions;
  2.  
  3. import java.util.LinkedList;
  4.  
  5. /**
  6. **************************************************************
  7. * Micholas Rivera *
  8. * Login ID: rive5235 *
  9. * CS-102, Fall 2017 *
  10. * This class exists solely because *
  11. * DefinitionListWrapperList is easy on my eyes and *
  12. * LinkedList<LinkedList<DefintionList>> isn't *
  13. * Yes, they aren't equivelent, but equal trades - nonetheless*
  14. **************************************************************
  15. */
  16.  
  17. public class DefinitionListWrapper {
  18. private DefinitionListWrapper(){}
  19.  
  20. // The list of definitions
  21. private LinkedList<Definition> definitionList;
  22.  
  23. public void addDefinition(Definition definition) {
  24. asjkdh
  25. }
  26.  
  27. public LinkedList<Definition> getDefinitionList() {
  28. return definitionList;
  29. }
  30.  
  31. public void printAll() {
  32. for (Definition definition : definitionList)
  33. System.out.print(definition.toString());
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement