public class NullFeatureData
extends java.lang.Object
implements galileo.serialization.ByteSerializable
Modifier and Type | Field and Description |
---|---|
protected T |
data |
protected FeatureType |
type |
Constructor and Description |
---|
NullFeatureData() |
NullFeatureData(galileo.serialization.SerializationInputStream in) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(galileo.dataset.feature.FeatureData<?> featureData) |
boolean |
equals(java.lang.Object obj) |
FeatureType |
getType()
Return this FeatureData's type.
|
int |
hashCode() |
void |
serialize(galileo.serialization.SerializationOutputStream out) |
byte[] |
toBytes()
Retrieves the binary byte array representation of this FeatureData.
|
double |
toDouble()
Provides the double precision floating-point representation of this
FeatureData.
|
Pair<java.lang.Double,java.lang.Double> |
toDoubleInterval()
Provides the double-precision floating point interval representation of
this FeatureData.
|
float |
toFloat()
Provides the float representation of this FeatureData.
|
Pair<java.lang.Float,java.lang.Float> |
toFloatInterval()
Provides the floating point interval representation of this FeatureData.
|
int |
toInt()
Provides the integer representation of this FeatureData.
|
Pair<java.lang.Integer,java.lang.Integer> |
toIntInterval()
Provides the integer-based interval representation of this FeatureData.
|
long |
toLong()
Provides the long integer representation of this FeatureData.
|
Pair<java.lang.Long,java.lang.Long> |
toLongInterval()
Provides the long integer-based interval representation of this
FeatureData.
|
java.lang.String |
toString()
Provides the String-based representation of this FeatureData.
|
protected T extends java.lang.Comparable<T> data
protected FeatureType type
public NullFeatureData()
@ByteSerializable.Deserialize public NullFeatureData(galileo.serialization.SerializationInputStream in) throws java.io.IOException
java.io.IOException
public int toInt()
public long toLong()
public float toFloat()
public double toDouble()
public java.lang.String toString()
public byte[] toBytes()
public int compareTo(galileo.dataset.feature.FeatureData<?> featureData)
compareTo
in interface java.lang.Comparable<galileo.dataset.feature.FeatureData<?>>
public void serialize(galileo.serialization.SerializationOutputStream out) throws java.io.IOException
serialize
in interface galileo.serialization.ByteSerializable
java.io.IOException
public Pair<java.lang.Integer,java.lang.Integer> toIntInterval()
public Pair<java.lang.Long,java.lang.Long> toLongInterval()
public Pair<java.lang.Float,java.lang.Float> toFloatInterval()
public Pair<java.lang.Double,java.lang.Double> toDoubleInterval()
public FeatureType getType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object