Avatar notebook default
135篇文章 · 13457字 · 0人关注
  • SPID LWP: thread id

    show SPID:ps -efTshow LWP(light weight process or thread):ps -efL NLWP: ...

  • java keywords examples

    http://javaconceptoftheday.com/java-keywords-with-examples/

  • java native

    native说明当前函数不是用java实现,而是通过其他语言(如C/C++)实现,用JNI(Java Native Interface)去调用 ...

  • java private default protected public

    private: 同类default: 同包protected: 子类public: 非子类 https://blog.csdn.net/see...

  • java strictfp

    strictfp: strict floating point精确浮点 使用了strictfp来声明一个 类、接口或者方法时,那么所声明的范围内...

  • python @classmethod @staticmethod

    @classmethod隐含参数cls, 主要用在需要创建对象的情况,比如多个构造函数的情况,相当于C++重载@staticmethod没有隐含...

  • python 装饰器

    装饰器本质上是一个Python函数作用:可以让其他函数在不需要做任何代码变动的前提下增加额外功能应用场景:它经常用于有切面需求的场景,比如:插入...

  • java Runnable Callable区别

    Runnable与Callable不同点: Runnable不返回任务执行结果,Callable可返回任务执行结果 Callable在任务无法计...

  • python 贪心算法

    def get_number(x, r):l = []for i in range(len(x)):if i+1<len(x):if x[0]+...

文集作者