Advertisement
UniQuet0p1

Untitled

Feb 23rd, 2022
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. package oo.hide;
  2.  
  3. public class PointSet {
  4.  
  5.     public PointSet(int capacity) {
  6.     }
  7.  
  8.     public PointSet() {
  9.         this(10);
  10.     }
  11.  
  12.     public void add(Point point) {
  13.     }
  14.  
  15.     public int size() {
  16.         return 0;
  17.     }
  18.  
  19.     public boolean contains(Point point) {
  20.         return false;
  21.     }
  22.  
  23.     public PointSet subtract(PointSet other) {
  24.         return null;
  25.     }
  26.  
  27.     public PointSet intersect(PointSet other) {
  28.         return null;
  29.     }
  30. }
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement