Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package abbigliamento;
- import java.util.ArrayList;
- import java.util.Collection;
- public class Collezione
- {
- ArrayList<Capo> capi = new ArrayList<Capo>();
- public void add(Capo capo)
- {
- capi.add(capo);
- }
- public Collection trova(Colore colore)
- {
- return null;
- }
- public Collection trova(Materiale materiale)
- {
- return null;
- }
- public Collection trova(Modello modello)
- {
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement