代码搜索:getClass
找到约 825 项符合「getClass」的源代码
代码结果 825
www.eeworm.com/read/162614/5537126
java throwit.java
// Test to see if throw works.
public class throwit
{
static
{
System.loadLibrary ("throwit");
}
public static native void throwit (String name, boolean is_new);
public static void ma
www.eeworm.com/read/162519/5545965
java xgraphicsenvironment.java
/* Copyright (C) 2005 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LIC
www.eeworm.com/read/162519/5546366
java invokereturn.java
import java.lang.reflect.Method;
// Test return values of Method.invoke.
public class InvokeReturn {
public boolean bTrue() {
return true;
}
public boolean bFalse() {
return false;
}
www.eeworm.com/read/162519/5546465
java stringbuffer_1.java
// Test StringBuffer.replace(), reverse(), insert(String), append(String),
// and delete().
public class StringBuffer_1
{
public static void main(String args[])
{
StringBuffer sb = new Strin
www.eeworm.com/read/162519/5546584
java pr100.java
// PR 100
// Second call to hashcode causes SEGV when dynamically linking.
public class pr100
{
public static void main(String[] args) {
pr100 ht = new pr100();
System.err.println(ht.hashCod
www.eeworm.com/read/162519/5546658
java throwit.java
// Test to see if throw works.
public class throwit
{
static
{
System.loadLibrary ("throwit");
}
public static native void throwit (String name, boolean is_new);
public static void ma
www.eeworm.com/read/161513/5552535
java testresponsepolicy.java
// **********************************************************************
//
//
//
// BBN Technologies
// 10 Moulton Street
// Cambridge, MA 02138
// (617) 873-8000
//
// Copyright
www.eeworm.com/read/161346/5554733
java rolldie.java
package rich;
import javax.swing.ImageIcon;
public class RollDie {
int value;
ImageIcon icon;
RollDie(){
value = 0;
icon = new ImageIcon(getClass().getResource("picture/dice.jpg"));
www.eeworm.com/read/161346/5554738
java gamestarting.java
package rich;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class GameStarting implements ItemListener,ActionListener {
JFrame f;
String[] select = {"Non
www.eeworm.com/read/158411/5597344
java divtest.java
import java.io.*;
class DivTest
{
public static void main(String[] args)
{
int r,n,d;
n=10; d=0;
try
{
r = n/d;
System.out.println("r=" + r);
}
ca