Java “// TODO 自动生成的方法存根”是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9712810/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does "// TODO Auto Generated method stub" mean?
提问by Cole
I see it all the time and can't find a simple description.
我一直看到它,找不到简单的描述。
采纳答案by Oliver Charlesworth
回答by Chetter Hummin
This is a comment that's added by Eclipse (an IDE) when you have eclipse create a method body for you. It's meant as a reminder for the programmer that he/she needs to code something in the method
这是当您让 Eclipse 为您创建方法体时由 Eclipse(一个 IDE)添加的注释。这是为了提醒程序员他/她需要在方法中编写一些代码
回答by waldenlaker
These stubs mean that they are inherited abstract methods from super class whose implementations need to be crammed by you.
这些存根意味着它们是从超类继承的抽象方法,它们的实现需要由您来填充。
回答by Kolis
The TODO, could refer to:
TODO,可以参考:
Blockquote
块引用
1 Talk openly develop openly
1开诚布公 开诚布公
2 todo(Noun)A task yet to be done; an item on a to-do list.
2 todo(名词)尚未完成的任务;待办事项清单上的一项。
3 Technical Order Distribution Office
3技术订单配送处
Blockquote
块引用