Advertisement
Guest User

Untitled

a guest
Nov 15th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. public class JournalCollection
  2. {
  3. // instance variables - replace the example below with your own
  4. private ArrayList<Journal> journals;
  5.  
  6.  
  7.  
  8. /**
  9. * Constructor for objects of class JournalCollection
  10. */
  11. public JournalCollection()
  12. {
  13. journals = new ArrayList<Journals>();
  14. }
  15.  
  16. /**
  17. * add journal
  18. */
  19. public void addJournal(journalToAdd)
  20. {
  21. journal.add(journalToAdd);
  22. }
  23.  
  24. public ArrayList<Journal>getJournalList(String empName)
  25. {
  26. // return JournalList
  27. // if (JournalList.contains (empName)
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement