Class PointValue

java.lang.Object
  |
  +--PointValue

public class PointValue
extends java.lang.Object

Simple integer point value class.


Constructor Summary
PointValue(int x)
          Sole constructor.
 
Method Summary
 java.lang.String toString()
           
 int value()
          Extracts the integer value of this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointValue

public PointValue(int x)
Sole constructor. Creates a new PointValue having the specified value.

Parameters:
x - value
Method Detail

value

public int value()
Extracts the integer value of this.

Returns:
value.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object