|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.android.activityminer.model.classification.NaNActivity
public class NaNActivity
| Field Summary | |
|---|---|
private int |
attributCount
The count of attributes. |
private long |
classid
The class attribute value. |
| Constructor Summary | |
|---|---|
NaNActivity(int attributCount)
Constructor |
|
NaNActivity(int attributCount,
long classid)
Constructor |
|
| Method Summary | |
|---|---|
long |
getActivityClass()
Getter for the class identifier. |
int |
getAttributeCount()
Getter for the attribute count. |
String[] |
getAttributes()
Getter for the attributes in its internal natural order. |
double[] |
getPoint()
Getter for the attribute values (unboxed from the double type) in the internal order of the attributes. |
Long |
getTimeStamp()
Getter for the time stamp. |
Double |
getValue(int idxAttribute)
Getter for an attributes value. |
Double |
getValue(String attribute)
Getter for an attributes value. |
Double[] |
getValues()
Getter for the attribute values in the internal order of the attributes. |
boolean |
hasActivityClass()
Test method if class is set. |
void |
setValue(int idxAttribute,
Double value)
Does set a value at the given attribute index |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final long classid
private final int attributCount
| Constructor Detail |
|---|
public NaNActivity(int attributCount)
attributCount - the count of attributes
public NaNActivity(int attributCount,
long classid)
attributCount - the count of attributesclassid - the class identifier| Method Detail |
|---|
public final boolean hasActivityClass()
Activity
hasActivityClass in interface Activitypublic long getActivityClass()
Activity
getActivityClass in interface Activitypublic Long getTimeStamp()
Activity
getTimeStamp in interface Activitypublic Double getValue(String attribute)
Activity
getValue in interface Activityattribute - the attribute name
public Double getValue(int idxAttribute)
Activity
getValue in interface ActivityidxAttribute - the attribute index
public String[] getAttributes()
Activity
getAttributes in interface Activitypublic Double[] getValues()
Activity
getValues in interface Activitypublic double[] getPoint()
Activity
getPoint in interface Activitypublic int getAttributeCount()
Activity
getAttributeCount in interface Activity
public void setValue(int idxAttribute,
Double value)
Activity
setValue in interface ActivityidxAttribute - the attribute indexvalue - the value to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||