代码搜索:getClass
找到约 825 项符合「getClass」的源代码
代码结果 825
www.eeworm.com/read/273406/10918288
java arrayexample.java
//: ArrayExample.java
//package g3ds.joop.ch3;
public class ArrayExample{
public static void main(String[] args){
//声明一个二维数组,并直接进行初始化
int[][] m1={{0, 1, 2},{3, 4},{5, 6, 7, 8, 9}};
Sy
www.eeworm.com/read/272996/10932018
java ttongxin.java
import java.awt.*;
import java.applet.*;
import java.util.*;
public class Ttongxin extends Applet{
Applet ap,aps;
Enumeration e;
public void paint(Graphics g){
int i=70;
ap=(Applet)getA
www.eeworm.com/read/468035/6998235
java proxyfactory.java
package test.aop.frame;
import java.lang.reflect.Proxy;
public class ProxyFactory {
private static ProxyFactory me;
private static ProxyHandler handler;
private ProxyFactory(){
}
pu
www.eeworm.com/read/276599/7073074
java arraygrowtest.java
/**
* @version 1.00 11 Mar 1997
* @author Cay Horstmann
*/
import java.lang.reflect.*;
import corejava.*;
public class ArrayGrowTest
{ public static void main(String[] args)
{ int[
www.eeworm.com/read/384827/7104713
java filter.java
//: interfaces/filters/Filter.java
package interfaces.filters;
public class Filter {
public String name() {
return getClass().getSimpleName();
}
public Waveform process(Waveform inpu
www.eeworm.com/read/140893/7117186
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/332978/7141610
java faces.java
//: gui/Faces.java
// Icon behavior in JButtons.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import static net.mindview.util.SwingConsole.*;
public class Faces extends JF
www.eeworm.com/read/332978/7141902
java familyvsexacttype.java
//: typeinfo/FamilyVsExactType.java
// The difference between instanceof and class
package typeinfo;
import static net.mindview.util.Print.*;
class Base {}
class Derived extends Base {}
pub
www.eeworm.com/read/332978/7141941
java hiddenimplementation.java
//: typeinfo/HiddenImplementation.java
// Sneaking around package access.
import typeinfo.interfacea.*;
import typeinfo.packageaccess.*;
import java.lang.reflect.*;
public class HiddenImplement
www.eeworm.com/read/332978/7141959
java filter.java
//: interfaces/filters/Filter.java
package interfaces.filters;
public class Filter {
public String name() {
return getClass().getSimpleName();
}
public Waveform process(Waveform inpu