Пример #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();
 }