代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/127981/14322640
java test1.java
//Test1.Java
public class Test1
{
public static void main(String args[])
{
int i=100;
long l=5252524;
double d=123.456;
float f=3.1415f;
www.eeworm.com/read/127943/14326483
java deletestringbuffer.java
// deleteStringBuffer.java
class deleteStringBuffer
{
public static void main(String[] args)
{
//生成字符串缓冲区
StringBuffer buf = new StringBuffer("I Love Java");
//删除字符串缓冲区
www.eeworm.com/read/127943/14326498
java replacestringbuffer.java
class replaceStringBuffer
{
public static void main(String[] args)
{
//创建字符串缓冲区
StringBuffer buf = new StringBuffer("The C++ Is Wonderful");
//调用replace方法
buf.replace(4, 7,
www.eeworm.com/read/127943/14326502
java deletecharatstringbuffer.java
// deleteCharAtStringBuffer.java
class deleteCharAtStringBuffer
{
public static void main(String[] args)
{
//生成字符串缓冲区
StringBuffer buf = new StringBuffer("I Love Java !");
//
www.eeworm.com/read/127943/14326529
java writetofile.java
//【代码7-3-5】
//WriteToFile.java
import java.io.*;
class WriteToFile
{
public static void main(String args[])
{
System.out.println("Please enter a directory that the file located in:");
//
www.eeworm.com/read/127943/14326782
java exceptiondemo.java
//【代码10-2-1】
//ExceptionDemo.java
class ExceptionDemo
{
public static void main(String args[])
{
for(int n=0;n
www.eeworm.com/read/127767/14336112
txt e131. parsing and formatting a byte array into binary, octal, and hexadecimal.txt
This example uses a BigInteger to convert a byte array to a string of binary, octal, or hexadecimal values.
// Get a byte array
byte[] bytes = new byte[]{(byte)0x12, (byte)0x0F, (byte)0xF0}
www.eeworm.com/read/127662/14342938
java propertiesmetaltheme.java
package lib;
import javax.swing.plaf.*;
import javax.swing.plaf.metal.*;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.io.*;
import java.util.*;
public cl
www.eeworm.com/read/127651/14343450
java outfile.java
import java.io.*;
//====================================
//Output file class
public class OutFile
{
BufferedWriter f;
PrintWriter p;
boolean errflag;
int tabcolumn;
int width;
//------