代码搜索:getClass
找到约 825 项符合「getClass」的源代码
代码结果 825
www.eeworm.com/read/454660/7385919
java ex9(2).java
// typeinfo/Ex9.java
// TIJ4 Chapter Typeinfo, Exercise 9, page 562
// Modify the previous exercise so that it uses Class.getDeclaredFields()
// to also display information about the fields in a c
www.eeworm.com/read/454660/7385985
java ex11(5).java
// arrays/Ex11.java
// TIJ4 Chapter Arrays, Exercise 11, page 774
// Show that autoboxing doesn't work with arrays.
import static org.greggordon.tools.Print.*;
public class Ex11 {
public stati
www.eeworm.com/read/454660/7385997
java ex8(4).java
// arrays//Ex8.java
// TIJ4 Chapter Arrays, Exercise 8, page 762
// Demonstrate the assertions in the previous paragraph.
class A {}
public class Ex8 {
@SuppressWarnings("unchecked")
T[
www.eeworm.com/read/450675/7478020
java ftpframe_aboutbox.java
/*
* 10/01/2001 - 15:52:00
*
* FtpGUI - Ftp client written in Java
* Copyright (C) 2001 Kostadin Kirilov Kostadinov
* k3co@hotmail.com
* sourceforge.net
*
* This program is free software; you
www.eeworm.com/read/449189/7517115
java runtimeinfo.java
public class Runtimeinfo
{
public String getinfo(Object obj)
{
String result = "值为 "+obj.toString();
if (obj instanceof Integer)
{
Integer intobj = (
www.eeworm.com/read/434781/7801824
java holders30.java
// generics/Holders30.java
// TIJ4 Chapter Generics, Exercise 30, page 696
// Create a Holder for each of the primitive wrapper types, and show that
// autoboxing and autounboxing works for the set
www.eeworm.com/read/434781/7801868
java ex8(3).java
// typeinfo/Ex8.java
// TIJ4 Chapter Typeinfo, Exercise 8, page 562
// Write a method that takes an object and recursively prints all
// the classes in that object's hierarchy.
class A {}
cl
www.eeworm.com/read/434781/7801884
java ex9(2).java
// typeinfo/Ex9.java
// TIJ4 Chapter Typeinfo, Exercise 9, page 562
// Modify the previous exercise so that it uses Class.getDeclaredFields()
// to also display information about the fields in a c
www.eeworm.com/read/434781/7801950
java ex11(5).java
// arrays/Ex11.java
// TIJ4 Chapter Arrays, Exercise 11, page 774
// Show that autoboxing doesn't work with arrays.
import static org.greggordon.tools.Print.*;
public class Ex11 {
public stati
www.eeworm.com/read/434781/7801962
java ex8(4).java
// arrays//Ex8.java
// TIJ4 Chapter Arrays, Exercise 8, page 762
// Demonstrate the assertions in the previous paragraph.
class A {}
public class Ex8 {
@SuppressWarnings("unchecked")
T[