代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5533351
java exceptiontest.java
public class ExceptionTest
{
static int foo() throws ArrayIndexOutOfBoundsException {
int f[] = new int[10];
return f[26];
}
public static void main (String args[]) {
int f;
www.eeworm.com/read/162614/5533361
java floatingdecimaltest.java
public class FloatingDecimalTest
{
public static void main(String args[]) {
/*
try {
*/
double d = 1.0;
String result;
result = "Double is " +d + " and kicking";
System.o
www.eeworm.com/read/162614/5533368
java simpletimezonetest.java
import java.util.*;
public class SimpleTimeZoneTest
{
public static void main(String args[])
{
try {
SimpleTimeZone gmt = new SimpleTimeZone(0, "GMT");
System.out.println("PASSED: timez
www.eeworm.com/read/162614/5533374
java classpathtest.java
import sun.tools.java.*;
public class ClassPathTest {
public static void main(String args[]) {
ClassPath cp =
new ClassPath((String)System.getProperties().get("java.class.path"));
Cla
www.eeworm.com/read/162614/5534721
java urltest.java
/* Test URL's */
import java.net.*;
import java.io.*;
public class URLTest
{
public static void
main(String argv[])
{
System.out.println("Starting URL tests");
/* Simple URL test */
System.
www.eeworm.com/read/162614/5534733
java outputclass.java
import java.io.*;
import gnu.java.lang.*;
import java.lang.reflect.*;
public class OutputClass {
public static void main(String[] args) {
for(int i=1;i
www.eeworm.com/read/162614/5536509
java xevent.java
/* Copyright (C) 2000 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/162614/5536525
java xexception.java
/* Copyright (C) 2000 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/162614/5537268
java pr208.java
public class PR208
{
public String toString ()
{
StringBuffer sb = new StringBuffer("");
sb.append (new java.util.Date().getTime() / 1000);
try {
}
catch (java.io.IO
www.eeworm.com/read/162614/5537277
java assertbug.java
// PR java/16927
public class AssertBug {
public void bug(Integer i) {
assert(false):
i.toString() + "!";
}
}