public class Device extends StringFeatureData
Modifier and Type | Field and Description |
---|---|
protected T |
data |
protected FeatureType |
type |
Constructor and Description |
---|
Device(galileo.serialization.SerializationInputStream in) |
Device(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(galileo.dataset.feature.FeatureData<?> featureData) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
FeatureType |
getType()
Return this FeatureData's type.
|
int |
hashCode() |
Pair<java.lang.Double,java.lang.Double> |
toDoubleInterval()
Provides the double-precision floating point interval representation of
this FeatureData.
|
Pair<java.lang.Float,java.lang.Float> |
toFloatInterval()
Provides the floating point interval representation of this FeatureData.
|
Pair<java.lang.Integer,java.lang.Integer> |
toIntInterval()
Provides the integer-based interval representation of this FeatureData.
|
Pair<java.lang.Long,java.lang.Long> |
toLongInterval()
Provides the long integer-based interval representation of this
FeatureData.
|
protected T extends java.lang.Comparable<T> data
protected FeatureType type
public Device(java.lang.String name)
@ByteSerializable.Deserialize public Device(galileo.serialization.SerializationInputStream in) throws java.io.IOException
java.io.IOException
public java.lang.String getName()
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
public int compareTo(galileo.dataset.feature.FeatureData<?> featureData)
compareTo
in interface java.lang.Comparable<galileo.dataset.feature.FeatureData<?>>