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