protected String prototypeToString() {
    return (prototype instanceof double[]) ? FormatUtil.format((double[]) prototype) : prototype.toString();
  }

  @Override
  public String getPrototypeType() {
    return "Prototype";
  }

  @Override
  public String toString() {
    return getClass().getSimpleName() + "[" + prototypeToString() + "]";
  }
}
protected String prototypeToString ( ) { return ( prototype instanceof double [ ] ) ? FormatUtil . format ( ( double [ ] ) prototype ) : prototype . toString ( ) ; } @ Override public String getPrototypeType ( ) { return "Prototype" ; } @ Override public String toString ( ) { return getClass ( ) . getSimpleName ( ) + "[" + prototypeToString ( ) + "]" ; } }
Format the prototype as string.

@return Prototype