@Override public Generator<ILineSegment> construct(String[] args){
  return new UniformGenerator(Integer.valueOf(args[0]));
}

@ Override public Generator < ILineSegment > construct ( String [ ] args ) { return new UniformGenerator ( Integer . valueOf ( args [ 0 ] ) ) ; }
provide reflective behavior to construct instance of generator given an array of string arguments .
