属性如何private itemset
在复制构造函数中可见?
import java.util.List;
import java.util.ArrayList;
public class Itemset {
private List<Integer> itemset = new ArrayList<Integer>();
private static long count = 0;
// copy constructor
public Itemset(final Itemset other) {
count++;
this.itemset = other.itemset;
}
}