Advertisement
spiny94

Untitled

Sep 5th, 2015
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. package abbigliamento;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.Collection;
  5.  
  6.  
  7. public class Collezione
  8. {    
  9.     ArrayList<Capo> capi = new ArrayList<Capo>();
  10.     public void add(Capo capo)
  11.     {
  12.         capi.add(capo);
  13.     }
  14.    
  15.     public Collection trova(Colore colore)
  16.     {
  17.         return null;
  18.     }
  19.        
  20.     public Collection trova(Materiale materiale)
  21.     {
  22.         return null;
  23.     }
  24.        
  25.        
  26.     public Collection trova(Modello modello)
  27.     {
  28.         return null;
  29.     }
  30.        
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement