public class TLcdS57ListAttribute extends com.luciad.internal.format.s57.ALcdS57Attribute implements ILcdS57Attribute
Constructor and Description |
---|
TLcdS57ListAttribute(TLcdS57AttributeClassDescriptor aAttributeClassDescriptor,
int[] aValue)
Constructs a new S-57 attribute with the given S-57 attribute class descriptor and value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
float |
getFloatValue()
Returns the value of this attribute, as a
float , or Float.NaN if the
value could not be parsed as a float. |
int |
getIntValue()
Returns the value of this attribute, as an
int . |
int[] |
getListValue() |
String |
getStringValue()
Returns the value of this attribute, as a
String . |
int |
hashCode() |
getAttributeClassDescriptor, getCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCode
public TLcdS57ListAttribute(TLcdS57AttributeClassDescriptor aAttributeClassDescriptor, int[] aValue)
aAttributeClassDescriptor
- the attribute class descriptor describing the type of this
attribute.aValue
- the attribute's value.public String getStringValue()
String
.getStringValue
in interface ILcdS57Attribute
String
.public int getIntValue()
int
.getIntValue
in interface ILcdS57Attribute
int
.public float getFloatValue()
float
, or Float.NaN
if the
value could not be parsed as a float.getFloatValue
in interface ILcdS57Attribute
float
.public int[] getListValue()
public boolean equals(Object o)
equals
in class com.luciad.internal.format.s57.ALcdS57Attribute
public int hashCode()
hashCode
in class com.luciad.internal.format.s57.ALcdS57Attribute