Hi,

I am new to using Predicate and other commons classes. Here is my problem:

I have a class RetailItem which contains a Set for WholeSaleItem. This WholeSaleItem contains a boolean isPackage which tells if this is a single package or not.

The WholeSaleItem contains a Set for DeliveryItems. DeliveryItem contains DeliveryMachanism

Now I want to  do some execution based on isPackage and DeliveryMechanism.

I can simply write the for loops for iterating the sets but wondering if this is possible to do it in a simple way using Collections?

Any help is welcome.

Regards,
Umesh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to