- 4
- 0
- 约 18页
- 2017-06-05 发布于河南
- 举报
corejava 常用的类和方法(国外英文资料)
corejava 常用的类和方法
Package Java. Lang,
Character classes
The static char toLowerCase (char ch) is converted to lowercase
The static char toUpperCase (char ch) is converted to uppercase
Class class
1 class.forname (); Set a class to a class object
Public static Class ? class.forname (String className)
2 newInstence (); Generate a new object (instantiated object) from the class object
Public T newInstance ()
3 getName (); Get the name of the class object
Public String getName ()
4 getModifiers (); Get the class modifier
Public int getModifiers ()
5 the getFields (); Get all the properties in the class
Public Field [] getFields ()
6 getMethods (); Get all the methods in the class
Public Method [] getMethods ()
7 getDeclaredFields (); Get all the attributes that are inherited from the class
Public Field [] getDeclaredFields ()
8 getDeclaredMethods (); You get all the methods that are inherited by the class
Public Method [] getDeclaredMethods ()
9 getDeclaredField (); Get the attributes inherited from the class
Public Field getDeclaredField (String name)
10 getDeclaredMethod (); You get the method of inheritance in the class
Public Method getDeclaredMethod (String name, Class ? ... parameterTypes)
11 getField (); Get the properties in the class
Public Field getField (String name)
12 getMethed (); Get the method in the class
Public Method getMethod (String name, Class ? ... parameterTypes)
The Integer class
1 static int parseInt (String s) / / converts a String to an int
2 the Static int parseInt (String s, int I) / / convert the first few bits of the String to an int type
Object class
Object clone () clone Object
2 Boolean equals (Object obj)
Void finalize () is invoked when the method is invoked
Void notify () wakes a single thread
Void notifyAll wakes up multiple threads
Void wait () causes the thread to wait
7 void wait (long timeout) how many milliseconds the thread waits
The Runtime class
The process exec (String command) executes the specified String command in a se
您可能关注的文档
最近下载
- 明代宗教信仰与思想控制.docx VIP
- 江苏省南通市2024-2025学年高二上学期期末学业质量监测语文试卷(含答案).pdf VIP
- 国就有成人演出的电影了?想看就要冒生命危险.pdf VIP
- 综合素质练习题及答案.doc VIP
- 2020-2021学年北京高三化学二轮复习 反应原理型简答题(突破二卷)(word版 含答案).docx VIP
- 电力拖动控制线路安装与检修(白银矿冶职业技术学院)知到智慧树答案.docx VIP
- 煤炭巷道掘砌工(高级工)资格考试题库(全真题库).docx VIP
- 影像叙事中情感共鸣生成机制.docx VIP
- 同轴二级圆柱齿轮减速器的设计(硬齿面).doc VIP
- 基于GPU多线程多通道图像高速重构方法、设备及介质.pdf VIP
原创力文档

文档评论(0)