|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.IntSlot
public class IntSlot
Reference version of an int type. Re-writable, unlike java.lang.Integer.
Object wrapper for int primitive values. Useful for storing in HashMaps, and anywhere else that a reference type is needed.
| Field Summary | |
|---|---|
int |
value
|
| Constructor Summary | |
|---|---|
IntSlot()
|
|
IntSlot(int b)
|
|
| Method Summary | |
|---|---|
int |
hashCode()
Returns a hashcode for this Integer. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int value
| Constructor Detail |
|---|
public IntSlot(int b)
public IntSlot()
| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||