|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GarmentVisitor | |
---|---|
edu.rice.comp211.laundry.garment |
Uses of GarmentVisitor in edu.rice.comp211.laundry.garment |
---|
Classes in edu.rice.comp211.laundry.garment that implement GarmentVisitor | |
---|---|
class |
AGarmentVisitor<R>
Abstract GarmentVisitor that provides default behavior for non-overridden methods. |
class |
SameTypeGarmentVisitor
A visitor to a Garment that returns true if the other garment is the same type as the host, i.e. |
Methods in edu.rice.comp211.laundry.garment with parameters of type GarmentVisitor | ||
---|---|---|
|
Socks.accept(GarmentVisitor<R> v)
|
|
|
Shirt.accept(GarmentVisitor<R> v)
|
|
|
Pants.accept(GarmentVisitor<R> v)
|
|
|
NullGarment.accept(GarmentVisitor<R> v)
Calls the forNullGarment case of the visitor and returns the result. |
|
abstract
|
Garment.accept(GarmentVisitor<R> v)
Executes ("accepts") a visitor for this garment |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |