newDoc<T extends K> abstract method

T newDoc<T extends K>(
  1. T doc
)

Returns a new instance of T document with a new name based on getNewName.

Implementation

T newDoc<T extends K>(T doc);