|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.IlvFeatureAttribute
ilog.views.maps.attribute.IlvDoubleAttribute
public class IlvDoubleAttribute
This feature attribute stores an attribute of type double.
| Constructor Summary | |
|---|---|
IlvDoubleAttribute(double value)
Creates a floating point double attribute. |
|
IlvDoubleAttribute(IlvDoubleAttribute source)
Copies this map attribute. |
|
IlvDoubleAttribute(IlvInputStream stream)
Reads an IlvDoubleAttribute from an
IlvInputStream. |
|
| Method Summary | |
|---|---|
IlvFeatureAttribute |
copy()
Returns a copy of the object. |
static double |
DoubleValue(IlvAttributeProperty attributes,
String name)
Returns the double value of the
IlvDoubleAttribute whose name is specified. |
double |
getValue()
Returns the double value of the attribute. |
void |
setValue(double value)
Sets the value of the attribute. |
String |
toString()
Converts the attribute into a string. |
void |
write(IlvOutputStream stream)
Writes this to an IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDoubleAttribute(double value)
value - the value of this attribute.
public IlvDoubleAttribute(IlvInputStream stream)
throws IlvReadFileException
IlvDoubleAttribute from an
IlvInputStream.
stream - the input stream.
IlvReadFileException - if the format is not correct.public IlvDoubleAttribute(IlvDoubleAttribute source)
source - the object to be copied.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvFeatureAttributestream - the output stream.
IOException - if an error occurs.public double getValue()
public void setValue(double value)
value - the new value to be set.public String toString()
toString in class Objectpublic IlvFeatureAttribute copy()
copy in class IlvFeatureAttributeIlvFeatureAttribute.
public static double DoubleValue(IlvAttributeProperty attributes,
String name)
double value of the
IlvDoubleAttribute whose name is specified.
attributes - The IlvAttributeProperty that stores the
attributes.name - The name of the attribute.
IlvDoubleAttribute as a
double or Double.NaN, if the attribute is
null.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||