import java.util.ArrayList;
import javax.swing.text.html.HTMLDocument.Iterator;
@SuppressWarnings("unused")
public class Cardset<card> {
ArrayList<card> cards = new ArrayList<card>();
static final String[]colors = {"meihua","fangkuai","heitao","hongtao"};
static final int [] points ={1,2,3,4,5,6,7,8,9,10,11,12,13};
public void newset(){
for(String s:colors){
for(int p:points){
cards.add(map(s,new Integer(p)));
}
}
System.out.println(cards.size());
}
private card map(String s, Integer integer) {
// TODO Auto-generated method stub
return null;
}
public void remove (String s,int p){
Iterator<card>it= cards.iterator();
while(it.hasNext()){
card c =it.next();
if(c.color==s && c.point ==p)
it.remove();
}
System.out.println(c+cards.size());
}
}