FileDocCategorySizeDatePackage
SomeBetterData.javaAPI DocExample1076Sun Dec 14 22:47:38 GMT 2003oreilly.hcj.immutable

SomeBetterData

public class SomeBetterData extends Object
A demo of a false immutable type.
author
Robert (Kraythe) Simmons jr.

Fields Summary
private final Point
value
Holds the value
Constructors Summary
public SomeBetterData(Point value)
Creates a new Monitor object.

param
value The value.

		this.value = new Point(value);
	
Methods Summary
public java.awt.PointgetValue()
Getter for value.

return
Returns the value.

		return new Point(value);