Java code often implements some interfaces, and this is where Java code is unique. Implementation of the interface, it means to implement the method defined in this interface, if a one-way code out method needs to remember the method name, and so on, even if there is the content of auxiliary shortcut key Help, is also very troublesome. Here's a little tip that you can quickly implement all the methods of an interface definition in the current class, all of which are empty implementations. :-D
Step one: First code out the interface that needs to be implemented
Step two: Put the cursor on the line declaring the class, hold the Divine key: Ctrl+1, you can see the prompt to implement all methods
Step three: Choose to implement all methods, the class is generated in the interface of the method null implementation, next to the need to re-implement, more convenient
Previous article, Eclipse Usage and tricks 14: automatically generated TODO Note 2:
http://blog.csdn.net/ts1122/article/details/9009217
Next article, Eclipse Usage and tricks 16: Auto Add not implemented Method 2:
http://blog.csdn.net/ts1122/article/details/9116291
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Eclipse Usage and Tricks 15: auto-add non-implementation Method 1