Top Banner
Jython 学学 学学 1. Jython 简简 2. Jython 简简 3. Jython 简简简简简简简简简 4. Jython 简简简 5. Jython 简简简简简简简 6. 简 Java 简简简简简简简简 7. Jython 简简 8. Jython 简简 9. Jython 简简简简 10. 简简 11. Jython 简简简简简简
47

Jython 学习 张波

Feb 23, 2016

Download

Documents

lydie

Jython 学习 张波. Jython 简介 Jython 类型 Jython 面向对象与面向函数 Jython 运算符 Jython 条件与异常控制 与 Java 的关系和相互调用 Jython 线程 Jython 注解 Jython 集合操作 内省 Jython 开发环境搭建. Jython 简介. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

Jython

Jython

JythonJythonJythonJythonJythonJavaJythonJythonJythonJython

JythonJythonJavaPythonPythonJava JythonCPythonJythonCPython JythonPythonJavaJython(int, float, long, complex)1, 1.0, 1L, 1+1JBoolean(bool)Flase, True(str)Oh my lady gaga, Jython!, Oh my lady gaga, Jython!(list)[1, abc, 1j, 1.0, 1L](dict){message:hello}(tuple)(1,2), (1,), ()(None)None(type)type()(class)class T:pass; type(T) # classobj(instance)t=T(); type(t) #instance(function)def test():pass; type(test) #function(instancemethod)class T: def test(self):pass; type(T.test) # instancemethod

: Flase=[], {}, (), , 0, 0.0, 0L, 0J, NoneJython(Code)

classobj:instancemethod:instance:function:systemstate:javapackage:Javamodule:Jython() __init__(self,)

:Jython,Java __init__ __init__ Jython(Code)

doc,str,str()Jython(Code)

*v **vJython:+ - * / % ** += -= *= /= %= **=~ | & ^ >> >=