public static Rescorer of(Rescorer... rescorers) {
    if (rescorers == null || rescorers.length == 0) {
      throw new IllegalArgumentException("rescorers is null or empty");
    }
    return of(Arrays.asList(rescorers));
  }
public static Rescorer of ( Rescorer ... rescorers ) { if ( rescorers == null || rescorers . length == 0 ) { throw new IllegalArgumentException ( "rescorers is null or empty" ) ; } return of ( Arrays . asList ( rescorers ) ) ; }
@param rescorers {@link Rescorer}s to aggregate
@return a {@link Rescorer} which combines the rescoring of the given implementations
@since 2.0.0
@throws IllegalArgumentException if {@code rescorers} is empty or null