JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class integer

java.lang.Object
  extended bygov.nasa.alsUtility.integer
All Implemented Interfaces:
java.io.Serializable

public class integer
extends java.lang.Object
implements java.io.Serializable

represent a changeable integer (Java API class Integer cannot be modified)

See Also:
Serialized Form

Field Summary
 int value
           
 
Constructor Summary
integer()
           
integer(int i)
           
 
Method Summary
 void add(int i)
           
 void divideBy(int i)
           
 boolean equals(java.lang.Object other)
           
 int getValue()
           
 int hashCode()
           
 void increment()
           
 void setValue(int i)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public int value
Constructor Detail

integer

public integer()

integer

public integer(int i)
Method Detail

increment

public void increment()

setValue

public void setValue(int i)

divideBy

public void divideBy(int i)

getValue

public int getValue()

add

public void add(int i)

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object other)

hashCode

public int hashCode()

JavaGenes, NASA Ames. Written largely by Al Globus