FileDocCategorySizeDatePackage
MyObject.javaAPI DocExample569Sat Apr 23 22:35:38 BST 2005learningjava

MyObject

public class MyObject extends Object

Fields Summary
int
intValue
String
stringValue
Constructors Summary
public MyObject()

 
public MyObject(int i, String s)

		this.intValue = i;
		this.stringValue = s;
	
Methods Summary
public intgetIntValue()

 return intValue; 
public java.lang.StringgetStringValue()

 
		return stringValue; 
	
public voidsetIntValue(int intValue)

 this.intValue = intValue; 
public voidsetStringValue(java.lang.String stringValue)

 
		this.stringValue = stringValue;
	
public java.lang.StringtoString()

		return String.format( "MyObject: %i, %s", intValue, stringValue );