A B C D E F G I L M N O P R S T U V W

A

AboutBox - Class in edu.rice.comp211.laundry.ui
Simple about box implementation.
AboutBox() - Constructor for class edu.rice.comp211.laundry.ui.AboutBox
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Change
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Command
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Fold
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Launder
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Lose
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Outfit
 
accept(CommandVisitor<R>) - Method in class edu.rice.comp211.laundry.command.Receive
 
accept(GarmentVisitor<R>) - Method in class edu.rice.comp211.laundry.garment.Garment
Executes ("accepts") a visitor for this garment
accept(GarmentVisitor<R>) - Method in class edu.rice.comp211.laundry.garment.NullGarment
Calls the forNullGarment case of the visitor and returns the result.
accept(GarmentVisitor<R>) - Method in class edu.rice.comp211.laundry.garment.Pants
 
accept(GarmentVisitor<R>) - Method in class edu.rice.comp211.laundry.garment.Shirt
 
accept(GarmentVisitor<R>) - Method in class edu.rice.comp211.laundry.garment.Socks
 
accept(BiListIVisitor<T, R>) - Method in class edu.rice.comp211.laundry.list.BiList
 
accept(BiListIVisitor<T, R>) - Method in interface edu.rice.comp211.laundry.list.BiListI
 
actionPerformed(ActionEvent) - Method in class edu.rice.comp211.laundry.ui.DynamicAction
Action method.
addApplicationListener(ApplicationListener) - Method in class edu.rice.comp211.laundry.ui.Application
Adds a listener for application events.
addStudent(Student, IOProcess) - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
adjective() - Method in class edu.rice.comp211.laundry.garment.Garment
Accessor for the adjective
AGarmentVisitor<R> - Class in edu.rice.comp211.laundry.garment
Abstract GarmentVisitor that provides default behavior for non-overridden methods.
AGarmentVisitor(R) - Constructor for class edu.rice.comp211.laundry.garment.AGarmentVisitor
Constructor for the class
Application - Class in edu.rice.comp211.laundry.ui
Base Application class for Swing apps.
Application() - Constructor for class edu.rice.comp211.laundry.ui.Application
Creates a new Application instance.
applicationDidInit() - Method in interface edu.rice.comp211.laundry.ui.ApplicationListener
Invoked after the application has finished intializing.
applicationExiting() - Method in interface edu.rice.comp211.laundry.ui.ApplicationListener
Notification that the application is about to exit.
ApplicationListener - Interface in edu.rice.comp211.laundry.ui
ApplicationListener is used by Application to notify listeners of major events during the lifecycle of an Application.
atEnd() - Method in interface edu.rice.comp211.laundry.iterator.ReadIteratorI
 
atStart() - Method in interface edu.rice.comp211.laundry.iterator.ReadIteratorI
 

B

BiIteratorI<T> - Interface in edu.rice.comp211.laundry.iterator
An iterator that traverses a collection of objects of type T in either direction possibly modifying it.
BiList<T> - Class in edu.rice.comp211.laundry.list
A circularly linked class implementing the BiListI interface.
BiList() - Constructor for class edu.rice.comp211.laundry.list.BiList
 
BiListI<T> - Interface in edu.rice.comp211.laundry.list
 
BiListIVisitor<T,R> - Interface in edu.rice.comp211.laundry.list
Visitor to a BiListI
BiListTest - Class in edu.rice.comp211.laundry.tests
A test class for the BiList collection classes.
BiListTest() - Constructor for class edu.rice.comp211.laundry.tests.BiListTest
 
BiListUtil - Class in edu.rice.comp211.laundry.list
Singleton class holding the utility methods on BiLists used in the Laundry Simulation.
buffer - Variable in class edu.rice.comp211.laundry.io.StringOutputStream
Buffer containing the stream

C

canApplicationExit() - Method in interface edu.rice.comp211.laundry.ui.ApplicationListener
Invoked to determine if the application should exit.
canExit() - Method in class edu.rice.comp211.laundry.ui.Application
Returns whether the application should be allowed to exit.
Change - Class in edu.rice.comp211.laundry.command
Variant class in Command union.
Change(Garment) - Constructor for class edu.rice.comp211.laundry.command.Change
 
cleanPants() - Method in class edu.rice.comp211.laundry.student.Student
Accessor for the pile of clean pants
cleanPants() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the student's pile of clean pants
cleanPants() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
cleanShirts() - Method in class edu.rice.comp211.laundry.student.Student
Accessor for the pile of clean shirts
cleanShirts() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the student's pile of clean shirts
cleanShirts() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
cleanSocks() - Method in class edu.rice.comp211.laundry.student.Student
Accessor for the pile of clean socks
cleanSocks() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the student's pile of clean socks
cleanSocks() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
clearStudents() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
close() - Method in class edu.rice.comp211.laundry.io.StringOutputStream
Relying on default constructor
Command - Class in edu.rice.comp211.laundry.command
Command :: = Receive | Lose | Change | Launder | Fold | Outfit Root class for the Command union.
Command() - Constructor for class edu.rice.comp211.laundry.command.Command
 
CommandException - Exception in edu.rice.comp211.laundry.command
Exception class for signalling illegal Laundry input.
CommandException(String) - Constructor for exception edu.rice.comp211.laundry.command.CommandException
 
CommandVisitor<R> - Interface in edu.rice.comp211.laundry.command
Visitor interface for Command objects.
compareFiles(StringOutputStream, File) - Static method in class edu.rice.comp211.laundry.tests.LaundryTest
Compares two files for equivalent text; missing EOL at EOF is ignored.
compareFiles(File, File) - Static method in class edu.rice.comp211.laundry.tests.LaundryTest
 
configureTextAndMnemonic(AbstractButton, String) - Static method in class edu.rice.comp211.laundry.ui.MnemonicHelper
 
createBackgroundThreadDialog() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the dialog to show when waiting for any background threads to exit.
createChange() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
createFold() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
createLaunder() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
createLose() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
createMenu(String) - Static method in class edu.rice.comp211.laundry.ui.MnemonicHelper
 
createMenuItem(JMenu, String) - Static method in class edu.rice.comp211.laundry.ui.MnemonicHelper
 
createMenuItem(JMenu, String, Action) - Static method in class edu.rice.comp211.laundry.ui.MnemonicHelper
 
createOutfit() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
createReceive() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
currentGarments() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
currentItem() - Method in interface edu.rice.comp211.laundry.iterator.ReadIteratorI
 

D

debug - Variable in class edu.rice.comp211.laundry.io.TerminalIO
 
delete(BiListI<T>, T) - Method in class edu.rice.comp211.laundry.list.BiListUtil
Deletes the first occurrence of elt from host.
deleteMatchFront(BiListI<T>, Predicate<T>, T) - Method in class edu.rice.comp211.laundry.list.BiListUtil
Delete the first occurrence of an element for which the given Predicate returns true.
deleteMatchRear(BiListI<T>, Predicate<T>, T) - Method in class edu.rice.comp211.laundry.list.BiListUtil
Delete the first occurrence of an element for which the given Predicate returns true.
dirtyPile() - Method in class edu.rice.comp211.laundry.student.Student
Accessor for the pile of dirty clothes
dirtyPile() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the student's pile of dirty garments
dirtyPile() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
DoCommandVisitor - Class in edu.rice.comp211.laundry.command
Processes a command for the stored student reference
DoCommandVisitor(Student) - Constructor for class edu.rice.comp211.laundry.command.DoCommandVisitor
Constructor for the class
doneExecuting() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
DynamicAction - Class in edu.rice.comp211.laundry.ui
Implementation of Action that invokes a method on an Object.
DynamicAction(Object, String, Object...) - Constructor for class edu.rice.comp211.laundry.ui.DynamicAction
Creates a dynamic action with the specified arguments.

E

edu.rice.comp211.laundry - package edu.rice.comp211.laundry
 
edu.rice.comp211.laundry.command - package edu.rice.comp211.laundry.command
 
edu.rice.comp211.laundry.garment - package edu.rice.comp211.laundry.garment
 
edu.rice.comp211.laundry.io - package edu.rice.comp211.laundry.io
 
edu.rice.comp211.laundry.iterator - package edu.rice.comp211.laundry.iterator
 
edu.rice.comp211.laundry.list - package edu.rice.comp211.laundry.list
 
edu.rice.comp211.laundry.student - package edu.rice.comp211.laundry.student
 
edu.rice.comp211.laundry.sync - package edu.rice.comp211.laundry.sync
 
edu.rice.comp211.laundry.tests - package edu.rice.comp211.laundry.tests
 
edu.rice.comp211.laundry.ui - package edu.rice.comp211.laundry.ui
 
EMPTY - Static variable in class edu.rice.comp211.laundry.tests.BiListTest
 
EnumI<T> - Interface in edu.rice.comp211.laundry.list
The interface for a Comp211 collection of objects of type T.
equals(Object) - Method in class edu.rice.comp211.laundry.garment.Garment
Returns true if to Garments are the same class and have the same adjective string.
equals(Object) - Method in class edu.rice.comp211.laundry.list.BiList
Returns true if all elements in this list and the given list are equal.
equals(Object) - Method in class edu.rice.comp211.laundry.student.Student
Tests for equality with another object
execute(Command, IOProcess) - Method in class edu.rice.comp211.laundry.student.Student
Executes a single command cmd, updating the state of student and generating specified PrintStream output to System.out.
executeCommand(Command) - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
executeCommand(int, Command) - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
exit() - Method in class edu.rice.comp211.laundry.ui.Application
Exits the application.
exiting() - Method in class edu.rice.comp211.laundry.ui.Application
Invoked as part of exiting the application.

F

first() - Method in interface edu.rice.comp211.laundry.iterator.ReadIteratorI
Moves cursor to first element of the collection.
firstStudent() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
flush() - Method in class edu.rice.comp211.laundry.io.StringOutputStream
 
Fold - Class in edu.rice.comp211.laundry.command
Variant class in Command union.
Fold() - Constructor for class edu.rice.comp211.laundry.command.Fold
 
forChange(Change) - Method in interface edu.rice.comp211.laundry.command.CommandVisitor
 
forChange(Change) - Method in class edu.rice.comp211.laundry.command.DoCommandVisitor
Process a Change command for the student
forEmpty(BiListI<T>) - Method in interface edu.rice.comp211.laundry.list.BiListIVisitor
empty list case
forFold(Fold) - Method in interface edu.rice.comp211.laundry.command.CommandVisitor
 
forFold(Fold) - Method in class edu.rice.comp211.laundry.command.DoCommandVisitor
Process a Fold command for the student
forLaunder(Launder) - Method in interface edu.rice.comp211.laundry.command.CommandVisitor
 
forLaunder(Launder) - Method in class edu.rice.comp211.laundry.command.DoCommandVisitor
Process a Launder command for the student
forLose(Lose) - Method in interface edu.rice.comp211.laundry.command.CommandVisitor
 
forLose(Lose) - Method in class edu.rice.comp211.laundry.command.DoCommandVisitor
Process a Lose command for the student
forNonEmpty(BiListI<T>) - Method in interface edu.rice.comp211.laundry.list.BiListIVisitor
non-empty list case
forNullGarment(NullGarment) - Method in class edu.rice.comp211.laundry.garment.AGarmentVisitor
 
forNullGarment(NullGarment) - Method in interface edu.rice.comp211.laundry.garment.GarmentVisitor
NullGarment case of the visitor
forNullGarment(NullGarment) - Method in class edu.rice.comp211.laundry.garment.SameTypeGarmentVisitor
 
forOutfit(Outfit) - Method in interface edu.rice.comp211.laundry.command.CommandVisitor
 
forOutfit(Outfit) - Method in class edu.rice.comp211.laundry.command.DoCommandVisitor
Process an Outfit command for the student
forPants(Pants) - Method in class edu.rice.comp211.laundry.garment.AGarmentVisitor
 
forPants(Pants) - Method in interface edu.rice.comp211.laundry.garment.GarmentVisitor
Pants case of the visitor
forPants(Pants) - Method in class edu.rice.comp211.laundry.garment.SameTypeGarmentVisitor
 
forReceive(Receive) - Method in interface edu.rice.comp211.laundry.command.CommandVisitor
 
forReceive(Receive) - Method in class edu.rice.comp211.laundry.command.DoCommandVisitor
Process a Receive command for the student
forShirt(Shirt) - Method in class edu.rice.comp211.laundry.garment.AGarmentVisitor
 
forShirt(Shirt) - Method in interface edu.rice.comp211.laundry.garment.GarmentVisitor
Shirt case of the visitor
forShirt(Shirt) - Method in class edu.rice.comp211.laundry.garment.SameTypeGarmentVisitor
 
forSocks(Socks) - Method in class edu.rice.comp211.laundry.garment.AGarmentVisitor
 
forSocks(Socks) - Method in interface edu.rice.comp211.laundry.garment.GarmentVisitor
Socks case of the visitor
forSocks(Socks) - Method in class edu.rice.comp211.laundry.garment.SameTypeGarmentVisitor
 

G

garment - Variable in class edu.rice.comp211.laundry.command.Change
 
garment - Variable in class edu.rice.comp211.laundry.command.Lose
 
garment - Variable in class edu.rice.comp211.laundry.command.Receive
 
Garment - Class in edu.rice.comp211.laundry.garment
Root class of the Garment union.
Garment(String) - Constructor for class edu.rice.comp211.laundry.garment.Garment
 
GarmentVisitor<R> - Interface in edu.rice.comp211.laundry.garment
A visitor to a Garment
getBackgroundThreadFactory() - Method in class edu.rice.comp211.laundry.ui.Application
Returns a ThreadFactory suitable for threads used within Swing applications.
getCommandVisitor() - Method in class edu.rice.comp211.laundry.student.Student
Factory method for a CommandVisitor<String> that can be used to process Commands for this student
getData(Object) - Method in class edu.rice.comp211.laundry.ui.Application
Returns the value for the specified user key.
getExecCommands() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
getInstance() - Static method in class edu.rice.comp211.laundry.ui.AboutBox
 
getInstance() - Static method in class edu.rice.comp211.laundry.ui.Application
Returns the single Application instance.
getInstance() - Static method in class edu.rice.comp211.laundry.ui.SimLaundry2010Application
 
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class edu.rice.comp211.laundry.ui.LaundryListCellRenderer
 
getName() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the name of the application.
getName() - Method in class edu.rice.comp211.laundry.ui.SimLaundry2010Application
 
getPreferences() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the Preferences object for the Application.
getPreferencesKey() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the Class key used to fetch the Preferences object.
getResourceAsString(String) - Static method in class edu.rice.comp211.laundry.ui.Application
Convenience method to return a resource from the Application as a String.
getResourceBundle() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the ResourceBundle for the Application.
getResourceBundleName() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the key for loading the resources for the Application.
getUncaughtExceptionDialog() - Method in class edu.rice.comp211.laundry.ui.Application
Returns the dialog that is shown when an uncaught exception is encountered.

I

in - Variable in class edu.rice.comp211.laundry.io.TerminalIO
 
init() - Method in class edu.rice.comp211.laundry.ui.Application
Invoked as part of starting the application.
init() - Method in class edu.rice.comp211.laundry.ui.SimLaundry2010Application
 
InputMode - Enum in edu.rice.comp211.laundry.ui
Date: Mar 25, 2010 Time: 10:31:03 PM
inputModeChanged() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
inputStream - Variable in class edu.rice.comp211.laundry.io.TerminalIO
 
insert(T) - Method in interface edu.rice.comp211.laundry.iterator.IteratorI
Destructively inserts the object o immediately before the current item.
insertFront(T) - Method in class edu.rice.comp211.laundry.list.BiList
Inserts the given value at the front of the list
insertFront(T) - Method in interface edu.rice.comp211.laundry.list.ListI
Inserts the object o at the front of this list
insertFront(T) - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
insertRear(T) - Method in class edu.rice.comp211.laundry.list.BiList
Insert the given value at the end of the list
insertRear(T) - Method in interface edu.rice.comp211.laundry.list.ListI
Inserts the object o at the rear of this list.
insertRear(T) - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
installLookAndFeel() - Method in class edu.rice.comp211.laundry.ui.Application
Invoked from preInit to set the look and feel for the Application.
IOProcess - Interface in edu.rice.comp211.laundry.io
IOProcess interface that the simulation uses to read parsed commands.
isEmpty() - Method in class edu.rice.comp211.laundry.list.BiList
 
isEmpty() - Method in interface edu.rice.comp211.laundry.list.EnumI
Test if this enumeration is empty
isEmpty() - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
isOSX() - Static method in class edu.rice.comp211.laundry.ui.Application
Returns true if running on Apple's OS X.
IteratorException - Exception in edu.rice.comp211.laundry.iterator
Exception class for signalling errors in using an iterator (implementing IteratorI)
IteratorException(String) - Constructor for exception edu.rice.comp211.laundry.iterator.IteratorException
 
IteratorI<T> - Interface in edu.rice.comp211.laundry.iterator
An iterator that traverses a collection of elements of type T possibly modifying it.

L

last() - Method in interface edu.rice.comp211.laundry.iterator.BiIteratorI
Puts the cursor on the last element of the collection.
Launder - Class in edu.rice.comp211.laundry.command
Variant class in Command union.
Launder() - Constructor for class edu.rice.comp211.laundry.command.Launder
 
LaundryController - Class in edu.rice.comp211.laundry.ui
Date: Mar 23, 2010 Time: 11:35:39 PM
LaundryController(JFrame) - Constructor for class edu.rice.comp211.laundry.ui.LaundryController
 
LaundryListCellRenderer - Class in edu.rice.comp211.laundry.ui
ListCellRenderer for the PasswordEntrys.
LaundryListCellRenderer() - Constructor for class edu.rice.comp211.laundry.ui.LaundryListCellRenderer
 
laundryRoom() - Method in class edu.rice.comp211.laundry.student.Student
Accessor for the laundry room
laundryRoom() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the student's laundry room (list of list of laundered garments)
laundryRoom() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
LaundryTest - Class in edu.rice.comp211.laundry.tests
 
LaundryTest() - Constructor for class edu.rice.comp211.laundry.tests.LaundryTest
 
length() - Method in class edu.rice.comp211.laundry.list.BiList
Returns the number of elements in the list
length() - Method in interface edu.rice.comp211.laundry.list.ListI
The number of elements in the list
length() - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
ListI<T> - Interface in edu.rice.comp211.laundry.list
A mutable linear list of elements of type T that can be scanned from first (front) to last (rear).
Lose - Class in edu.rice.comp211.laundry.command
Variant class in Command union.
Lose(Garment) - Constructor for class edu.rice.comp211.laundry.command.Lose
 

M

main(String[]) - Static method in class edu.rice.comp211.laundry.io.TerminalIO
 
Main - Class in edu.rice.comp211.laundry
 
Main() - Constructor for class edu.rice.comp211.laundry.Main
 
main(String[]) - Static method in class edu.rice.comp211.laundry.Main
 
main(String[]) - Static method in class edu.rice.comp211.laundry.ui.SimLaundry2010Application
 
mapDelete(BiListI<BiListI<T>>, T) - Method in class edu.rice.comp211.laundry.list.BiListUtil
Deletes the first occurrence of elt in each list (of type BiList) in host.
MAX_LOAD - Static variable in interface edu.rice.comp211.laundry.student.StudentEnvironment
The maximum number of garments that can be laundered at once.
MnemonicHelper - Class in edu.rice.comp211.laundry.ui
Helper class for creating buttons and menus.
morespaces - Static variable in class edu.rice.comp211.laundry.io.TerminalIO
 

N

name() - Method in class edu.rice.comp211.laundry.student.Student
Accessor for the student's name
name() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the student's name
newIterator() - Method in class edu.rice.comp211.laundry.list.BiList
Factory method that creates an iterator initialized to point at the start of the list.
newIterator() - Method in interface edu.rice.comp211.laundry.list.BiListI
The inherited newIterator method with a narrowed output type.
newIterator() - Method in interface edu.rice.comp211.laundry.list.EnumI
Factory for a new ReadIteratorI for processing this enumeration.
newIterator() - Method in interface edu.rice.comp211.laundry.list.ListI
Factory method that instantiates a new iterator over this list.
newIterator() - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
newList() - Method in class edu.rice.comp211.laundry.list.BiList
Factory method for a new, empty list that holds the same type of elements as this list.
newList() - Method in interface edu.rice.comp211.laundry.list.BiListI
The inherited newList with a narrowed output type.
newList() - Method in interface edu.rice.comp211.laundry.list.ListI
Factory method to instantiate a new empty list that can hold the same type of element.
newList() - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
next() - Method in interface edu.rice.comp211.laundry.iterator.ReadIteratorI
Moves cursor to next element of the collection.
nextCommand() - Method in interface edu.rice.comp211.laundry.io.IOProcess
 
nextCommand() - Method in class edu.rice.comp211.laundry.io.TerminalIO
 
nextCommandInSoloMode() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
nextCommandInThreadedMode() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
NullGarment - Class in edu.rice.comp211.laundry.garment
Represents the absence of a garment.

O

ONLY - Static variable in class edu.rice.comp211.laundry.garment.NullGarment
Singleton pattern
ONLY - Static variable in class edu.rice.comp211.laundry.list.BiListUtil
Singleton instance
open(StudentEnvironment, boolean) - Method in interface edu.rice.comp211.laundry.io.IOProcess
 
open(StudentEnvironment, boolean) - Method in class edu.rice.comp211.laundry.io.TerminalIO
 
openNewFile() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
openThreadedNewFile() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
Outfit - Class in edu.rice.comp211.laundry.command
Variant class in Command union.
Outfit() - Constructor for class edu.rice.comp211.laundry.command.Outfit
 
outputStream - Variable in class edu.rice.comp211.laundry.io.TerminalIO
 

P

Pants - Class in edu.rice.comp211.laundry.garment
Variant class of Garment union.
Pants(String) - Constructor for class edu.rice.comp211.laundry.garment.Pants
 
pants() - Method in class edu.rice.comp211.laundry.student.Student
The current pants the student is wearing
pants(Pants) - Method in class edu.rice.comp211.laundry.student.Student
Settor for the current pants the student is wearing
pants() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the Pants the student is currently wearing.
parseGarment(String, String) - Static method in class edu.rice.comp211.laundry.io.TerminalIO
 
parseWord() - Method in class edu.rice.comp211.laundry.io.TerminalIO
 
postInit() - Method in class edu.rice.comp211.laundry.ui.Application
Invoked as part of starting the application.
postInitEventQueueEmpty() - Method in class edu.rice.comp211.laundry.ui.Application
Invoked as part of starting the application.
pOut - Variable in class edu.rice.comp211.laundry.ui.StudentModel
 
Predicate<T> - Interface in edu.rice.comp211.laundry.list
Interface for predicate closures to test objects of type T for some condition.
preInit() - Method in class edu.rice.comp211.laundry.ui.Application
Invoked as part of starting the application.
prev() - Method in interface edu.rice.comp211.laundry.iterator.BiIteratorI
Puts the cursor on the previous element of the collection.
putData(Object, Object) - Method in class edu.rice.comp211.laundry.ui.Application
Associated the specified value with the specified key.

R

ReadIteratorI<T> - Interface in edu.rice.comp211.laundry.iterator
An iterator that traverses a collection of objects of type T without modifying it.
Receive - Class in edu.rice.comp211.laundry.command
Variant class in Command union.
Receive(Garment) - Constructor for class edu.rice.comp211.laundry.command.Receive
 
registerThread(Thread) - Method in class edu.rice.comp211.laundry.ui.Application
Registers a background thread with the Application.
remFront() - Method in class edu.rice.comp211.laundry.list.BiList
Removes the first element of the list
remFront() - Method in interface edu.rice.comp211.laundry.list.ListI
Removes the element at the front of the list.
remFront() - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
remListFront(BiListI<T>, int) - Method in class edu.rice.comp211.laundry.list.BiListUtil
Removes the first size elements from host and returns them as the result.
remove() - Method in interface edu.rice.comp211.laundry.iterator.IteratorI
Removes the current element e.
removeApplicationListener(ApplicationListener) - Method in class edu.rice.comp211.laundry.ui.Application
Adds a listener for application events.
remRear() - Method in class edu.rice.comp211.laundry.list.BiList
Remove the last element in the list
remRear() - Method in interface edu.rice.comp211.laundry.list.BiListI
Removes the last element l of this list.
remRear() - Method in class edu.rice.comp211.laundry.sync.SyncBiList
 
runAllSteps() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
runInSoloModeAllRemainingCommands() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
runInThreadedModeAllRemainingCommands() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
runOneStep() - Method in class edu.rice.comp211.laundry.ui.StudentModel
 
runTestSimulate(String) - Method in class edu.rice.comp211.laundry.tests.LaundryTest
A test method for the simulate method.

S

SameTypeGarmentVisitor - Class in edu.rice.comp211.laundry.garment
A visitor to a Garment that returns true if the other garment is the same type as the host, i.e.
SameTypeGarmentVisitor(Garment) - Constructor for class edu.rice.comp211.laundry.garment.SameTypeGarmentVisitor
Constructor for the class
saveExecutedCommands() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
sEnv - Variable in class edu.rice.comp211.laundry.io.TerminalIO
 
Shirt - Class in edu.rice.comp211.laundry.garment
Variant class of Garment union.
Shirt(String) - Constructor for class edu.rice.comp211.laundry.garment.Shirt
 
shirt() - Method in class edu.rice.comp211.laundry.student.Student
The current shirt the student is wearing
shirt(Shirt) - Method in class edu.rice.comp211.laundry.student.Student
Settor for the current shirt the student is wearing
shirt() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the Shirt the student is currently wearing.
show(Window) - Method in class edu.rice.comp211.laundry.ui.AboutBox
 
showAbout() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 
showSplash() - Method in class edu.rice.comp211.laundry.ui.SplashScreen
 
showSplashAndExit() - Method in class edu.rice.comp211.laundry.ui.SplashScreen
 
SimLaundry2010Application - Class in edu.rice.comp211.laundry.ui
Date: Mar 23, 2010 Time: 11:23:30 PM
SimLaundry2010Application() - Constructor for class edu.rice.comp211.laundry.ui.SimLaundry2010Application
 
simulate(IOProcess, boolean) - Method in class edu.rice.comp211.laundry.student.Student
Run a simulation (a series of commands) on the student
Socks - Class in edu.rice.comp211.laundry.garment
Variant class of Garment union.
Socks(String) - Constructor for class edu.rice.comp211.laundry.garment.Socks
 
socks() - Method in class edu.rice.comp211.laundry.student.Student
The current socks the student is wearing
socks(Socks) - Method in class edu.rice.comp211.laundry.student.Student
Settor for the current socks the student is wearing
socks() - Method in interface edu.rice.comp211.laundry.student.StudentEnvironment
Accessor for the Socks the student is currently wearing.
spaces - Static variable in class edu.rice.comp211.laundry.io.TerminalIO
 
SplashScreen - Class in edu.rice.comp211.laundry.ui
 
SplashScreen(int) - Constructor for class edu.rice.comp211.laundry.ui.SplashScreen
 
start() - Method in class edu.rice.comp211.laundry.ui.Application
Starts the Application.
StringOutputStream - Class in edu.rice.comp211.laundry.io
 
StringOutputStream() - Constructor for class edu.rice.comp211.laundry.io.StringOutputStream
 
Student - Class in edu.rice.comp211.laundry.student
Represents a student and their environment
Student(String, Shirt, Pants, Socks) - Constructor for class edu.rice.comp211.laundry.student.Student
Constructor for the class
Student(String, Shirt, Pants, Socks, BiListI<Garment>, BiListI<Garment>, BiListI<Garment>, BiListI<Garment>, BiListI<BiListI<Garment>>) - Constructor for class edu.rice.comp211.laundry.student.Student
Constructor for the class
StudentEnvironment - Interface in edu.rice.comp211.laundry.student
StudentEnvironment interface that the debugging code in nextCommand uses to access the current state of the simulated student environment.
StudentModel - Class in edu.rice.comp211.laundry.ui
Date: Mar 24, 2010 Time: 12:26:45 AM
StudentModel() - Constructor for class edu.rice.comp211.laundry.ui.StudentModel
 
SyncBiList<T> - Class in edu.rice.comp211.laundry.sync
Specialty BiList that is used by the GUI to create animations by slowing the speed of the list operations down.
SyncBiList() - Constructor for class edu.rice.comp211.laundry.sync.SyncBiList
 

T

TerminalIO - Class in edu.rice.comp211.laundry.io
Terminal implementation of the IOProcess interface.
TerminalIO(String) - Constructor for class edu.rice.comp211.laundry.io.TerminalIO
 
TerminalIO(String, String) - Constructor for class edu.rice.comp211.laundry.io.TerminalIO
 
TerminalIO(String, OutputStream) - Constructor for class edu.rice.comp211.laundry.io.TerminalIO
 
TerminalIO(InputStream, OutputStream) - Constructor for class edu.rice.comp211.laundry.io.TerminalIO
 
test(T) - Method in interface edu.rice.comp211.laundry.list.Predicate
The method that is called to test a given object
test_Receive_cmds() - Method in class edu.rice.comp211.laundry.tests.LaundryTest
 
test_Sample_file() - Method in class edu.rice.comp211.laundry.tests.LaundryTest
 
test_Sys_file() - Method in class edu.rice.comp211.laundry.tests.LaundryTest
 
test_test_file() - Method in class edu.rice.comp211.laundry.tests.LaundryTest
 
testIsEmpty() - Method in class edu.rice.comp211.laundry.tests.BiListTest
Tests the Empty state of BiList.
testListInsertRemAndLength() - Method in class edu.rice.comp211.laundry.tests.BiListTest
 
testNewListAndIterator() - Method in class edu.rice.comp211.laundry.tests.BiListTest
 
testToString() - Method in class edu.rice.comp211.laundry.tests.BiListTest
 
toString() - Method in class edu.rice.comp211.laundry.command.Change
 
toString() - Method in class edu.rice.comp211.laundry.command.Fold
 
toString() - Method in class edu.rice.comp211.laundry.command.Launder
 
toString() - Method in class edu.rice.comp211.laundry.command.Lose
 
toString() - Method in class edu.rice.comp211.laundry.command.Outfit
 
toString() - Method in class edu.rice.comp211.laundry.command.Receive
 
toString() - Method in class edu.rice.comp211.laundry.garment.NullGarment
String representation of the class
toString() - Method in class edu.rice.comp211.laundry.garment.Pants
 
toString() - Method in class edu.rice.comp211.laundry.garment.Shirt
 
toString() - Method in class edu.rice.comp211.laundry.garment.Socks
 
toString() - Method in class edu.rice.comp211.laundry.io.StringOutputStream
 
toString() - Method in class edu.rice.comp211.laundry.list.BiList
 
toString() - Method in class edu.rice.comp211.laundry.student.Student
a string representation of the student
toStringWithCommas(BiListI<T>) - Method in class edu.rice.comp211.laundry.list.BiListUtil
Generates a string representation for host with items separated by ", " and no leading or trailing text.
TWO - Static variable in class edu.rice.comp211.laundry.tests.BiListTest
 
TWO_FIVE - Static variable in class edu.rice.comp211.laundry.tests.BiListTest
 

U

uncaughtException(Throwable) - Method in class edu.rice.comp211.laundry.ui.Application
Invoked when an uncaught exception is encountered.
uncaughtException(Thread, Throwable) - Method in class edu.rice.comp211.laundry.ui.Application
Invoked when an uncaught exception is encountered.

V

valueOf(String) - Static method in enum edu.rice.comp211.laundry.ui.InputMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.rice.comp211.laundry.ui.InputMode
Returns an array containing the constants of this enum type, in the order they are declared.
viewExecutedCommands() - Method in class edu.rice.comp211.laundry.ui.LaundryController
 

W

waitForBackgroundThreadsToExit() - Method in class edu.rice.comp211.laundry.ui.Application
Blocks until all registered threads have completed.
whPants - Static variable in class edu.rice.comp211.laundry.tests.LaundryTest
 
whShirt - Static variable in class edu.rice.comp211.laundry.tests.LaundryTest
 
whSocks - Static variable in class edu.rice.comp211.laundry.tests.LaundryTest
 
write(byte[]) - Method in class edu.rice.comp211.laundry.io.StringOutputStream
 
write(byte[], int, int) - Method in class edu.rice.comp211.laundry.io.StringOutputStream
 
write(int) - Method in class edu.rice.comp211.laundry.io.StringOutputStream
 

A B C D E F G I L M N O P R S T U V W