Đang chuẩn bị liên kết để tải về tài liệu:
J2ME in a Nutshell phần 7

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Loại hình Phần này liệt kê tất cả các lĩnh vực và các hằng số của loại hình này, có thể giúp bạn tìm ra cách để có được một đối tượng của loại hình này. II.3.6 Lưu ý Về Tên lớp suốt những tài liệu tham khảo nhanh chóng, bạn sẽ nhận thấy rằng các lớp học đôi khi được gọi bởi tên lớp một mình | J2ME in a Nutshell Type Of This section lists all of the fields and constants that are of this type which can help you figure out how to obtain an object of this type. II.3.6 A Note About Class Names Throughout the quick reference you ll notice that classes are sometimes referred to by class name alone and at other times referred to by class name and package name. If package names were always used the class synopses would become long and hard to read. On the other hand if package names were never used it would sometimes be difficult to know what class was being referred to. The rules for including or omitting the package name are complex. They can be summarized approximately as follows however If the class name alone is ambiguous the package name is always used. If the class is part of the java.lang package or is a very commonly used class the package name is omitted. If the class being referred to is part of the current package and has a quick-reference entry in the current chapter the package name is omitted. 307 J2ME in a Nutshell Chapter 10. J2ME Packages and Classes There are two types of packages and classes in the J2ME platform Those that are inherited from the J2SE platform Those that are specific to J2ME and have no counterpart in J2SE Most of J2ME falls into the first category. Depending on the configuration and profile you are using you can use a different subset of J2SE packages and a subset of those packages that are part of J2ME itself as shown in Table 10-1. Some J2SE packages particularly those associated with the user interface are not currently part of any J2ME profile. These classes are listed in Table 10-2. Even when a package is available it is not necessarily the case that all of its classes are included in the J2ME implementation. The remaining sections of this chapter list all classes in the J2SE packages included in at least one J2ME profile and show for each configuration and profile the classes applicable to it.1 In some cases you ll see