drcl.data
Class IntObj
java.lang.Object
drcl.DrclObj
drcl.data.NumberObj
drcl.data.IntObj
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable
- public class IntObj
- extends NumberObj
Class that is similar to Integer but is mutable.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
value
public int value
IntObj
public IntObj()
IntObj
public IntObj(int v)
setValue
public void setValue(int v)
getValue
public int getValue()
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
duplicate
public void duplicate(java.lang.Object source_)
- Description copied from class:
DrclObj
- opies the content of the
source_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
- Specified by:
duplicate in interface ObjectDuplicable- Overrides:
duplicate in class DrclObj
inc
public int inc(int delta_)
- Increases the integer by delta_ and returns the new value.
toString
public java.lang.String toString()
- Overrides:
toString in class DrclObj
byteValue
public byte byteValue()
- Specified by:
byteValue in class NumberObj
floatValue
public float floatValue()
- Specified by:
floatValue in class NumberObj
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class NumberObj
intValue
public int intValue()
- Specified by:
intValue in class NumberObj
longValue
public long longValue()
- Specified by:
longValue in class NumberObj
shortValue
public short shortValue()
- Specified by:
shortValue in class NumberObj
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~