public void reset(int point) {this.point = point;ends.next = 0;starts.next = 0;}

public void reset ( int point ) { this . point = point ; ends . next = 0 ; starts . next = 0 ; }
public void Reset(int point){this.point = point;ends.count = 0;starts.count = 0;}
