tag 标签: import

相关博文
  • 热度 19
    2015-12-26 18:48
    2299 次阅读|
    0 个评论
    快捷键ctrl+shift+o使eclipse自动导入import包 经常引用了一个类后,不知道它的import包是什么,网上找个半天,晕倒。。。 结果现在发现eclipse中有快捷键ctrl+shift+o,可自动导入所需要的import包(即自动写import语句)。。。 汗,原来偶真是弱爆了。。。
  • 热度 13
    2014-8-25 15:49
    1045 次阅读|
    0 个评论
    Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those!
相关资源