|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tinyline.tiny2d.TinyNumber
The TinyNumber class wraps a value of the (double) fixed point type in an object.
| Field Summary | |
static int |
INHERIT
A constant holding the inherited constant value. |
int |
val
The current number value. |
| Constructor Summary | |
TinyNumber(int i)
Constructs a new TinyNumber object that represents the specified i value. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object. |
int |
hashCode()
Returns a hashcode for this Integer. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int INHERIT
public int val
| Constructor Detail |
public TinyNumber(int i)
| Method Detail |
public int hashCode()
public boolean equals(java.lang.Object obj)
true if and only if the argument is not
null and is an Integer object that contains
the same int value as this object.
obj - the object to compare with.
true if the objects are the same;
false otherwise.
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||