示例#1
0
 // is the set empty?
 public boolean isEmpty() {
   return points.size() == 0;
 }
示例#2
0
 // number of points in the set
 public int size() {
   return points.size();
 }
示例#3
0
 // number of points in the set
 public int size() {
   return set.size();
 }