Possible Duplicate:
When do you use Java s @Override annotation and why?
Java, What does @Override mean?
我正在检查
@Override
protected Solver createSolver() {
XmlSolverConfigurer configurer = new XmlSolverConfigurer();
configurer.configure(SOLVER_CONFIG);
return configurer.buildSolver();
}
protected Solver createSolverByApi() {
// Not recommended! It is highly recommended to use XmlSolverConfigurer with an XML configuration instead.
SolverConfig solverConfig = new SolverConfig();
solverConfig.setSolutionClass(NQueens.class);
.....TRUNCATED....
solverPhaseConfigList.add(localSearchSolverPhaseConfig);
solverConfig.setSolverPhaseConfigList(solverPhaseConfigList);
return solverConfig.buildSolver();
}
就我所知,createSolver(
)和createSolverByApi(
)应当返还。 当你明确称呼它们时,可以撒谎。
<代码>@ 此处指的是超低温带/代码。 <>>这一术语的一般含义是什么?
http://www.un.org。 我很坏;我无意中重复了。 @Override的意思是什么?