zoukankan      html  css  js  c++  java
  • Class类介绍(中文文档)

    public final class

    Class

    extends Object

    implements Serializable AnnotatedElement GenericDeclaration Type

    java.lang.Object

         java.lang.Class<T>

    Class Overview(类概述)

    The in-memory representation of a Java class. This representation serves as the starting point for querying class-related information, a process usually called "reflection". There are basically three types of Class instances: those representing real classes and interfaces, those representing primitive types, and those representing array classes.

    Public Methods(公共方法)

    public String getName ()

    Returns the name of the class represented by this Class. For a description of the format which is used, see the class definition of Class.

    Returns(返回)

    the name of the class represented by this Class.

    代表这个类的名称。(包名+类名)

    public String getSimpleName ()

    Returns the simple name of the class represented by this Class as defined in the source code. If there is no name (that is, the class is anonymous) then an empty string is returned. If the receiver is an array then the name of the underlying type with square braces appended (for example "Integer[]") is returned.

    Returns(返回)

    the simple name of the class represented by this Class.

    代表这个类的简单名称。(类名)

  • 相关阅读:
    思念
    Matlab与C++混合编程,添加OpenCV库
    重新启用此博客
    将博客搬至CSDN
    unity探索者之ILRuntime代码热更新
    unity探索者之UGUI圆形图片组件
    unity探索者之UGUI图片描边
    unity探索者之iOS微信登录、分享
    unity探索者之复制内容到剪贴板
    unity探索者之获取设备当前电量
  • 原文地址:https://www.cnblogs.com/renqingping/p/Class.html
Copyright © 2011-2022 走看看