collections.arrayList
Class PartyProcessor
java.lang.Object
collections.arrayList.PartyProcessor
public class PartyProcessor
- extends java.lang.Object
A Dinner Party Processor which shows how to use an ArrayList
- Author:
- Thomas Rowland
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartyProcessor
public PartyProcessor()
main
public static void main(java.lang.String[] args)
addParty
public void addParty(Party party)
updateParty
public boolean updateParty(Party party)
removeParty
public void removeParty(java.lang.String name)
showNextPartyOf
public void showNextPartyOf(int partySize)
showPartyInQueue
public void showPartyInQueue(java.lang.String partyName)
showParties
public void showParties()
getParties
public java.util.ArrayList getParties()