代码搜索:getClass
找到约 825 项符合「getClass」的源代码
代码结果 825
www.eeworm.com/read/155397/5622396
java messagepanel.java
// $Id: MessagePanel.java,v 1.5.2.3 2003/08/26 09:08:10 cssharp Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permis
www.eeworm.com/read/155175/5628762
java stringid.java
package com.croftsoft.core.util.id;
import com.croftsoft.core.lang.NullArgumentException;
/*********************************************************************
* An Id implem
www.eeworm.com/read/155175/5628765
java longid.java
package com.croftsoft.core.util.id;
import com.croftsoft.core.lang.NullArgumentException;
/*********************************************************************
* An Id implem
www.eeworm.com/read/155175/5628988
java coalesceablerequest.java
package com.croftsoft.apps.chat.request;
import com.croftsoft.core.security.Authentication;
/*********************************************************************
* A request tha
www.eeworm.com/read/475429/6781497
java demo.java
//演示如何得到Class
class student{
String name="lifeng";
public String toString(){
return null;
}
}
class test{
public static void main (String[] args) {
//通过类名.class
Class cc=stude
www.eeworm.com/read/230048/6789284
java familyvsexacttype.java
//: c10:FamilyVsExactType.java
// The difference between instanceof and class
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
www.eeworm.com/read/475230/6794425
java imagefactory.java
package nicholas.game.kyodai;
import javax.swing.ImageIcon;
import java.net.URLClassLoader;
public class ImageFactory {
private static ImageFactory imagefactory;
private static Imag
www.eeworm.com/read/395876/8147398
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/395876/8147539
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/395876/8147572
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