public long size(){
  return isNull() ? 0 : this.end - this.start + 1;
}

public long size ( ) { return isNull ( ) ? 0 : this . end - this . start + 1 ; }
returns the size of this range ( the number of values within its bounds ) .
