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

java.lang.Objectandroid.support.v4.util.LongSparseArray<ActivityLabel>
org.android.activityminer.model.activitylabels.ActivityLabelMap
public class ActivityLabelMap
A map to store activity references for a quick access by the activity name
| Constructor Summary | |
|---|---|
ActivityLabelMap()
Constructor |
|
ActivityLabelMap(Collection<ActivityLabel> labels)
Constructor |
|
ActivityLabelMap(android.support.v4.util.LongSparseArray<String> classId2NameMapping)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
containsActivityWithName(String name)
Method to test if an activity label with the given name exits |
List<ActivityLabel> |
getActivityLabelsOrdered()
Getter for the labels in an hierarchical order |
List<ActivityLabel> |
getActivityLabelsWithoutPredecessor()
Getter for all activity labels without predecessors |
ActivityLabel[] |
getPossiblePredecessorsFor(ActivityLabel activityLabel)
Getter for possible predecessors for an activity label |
| Methods inherited from class android.support.v4.util.LongSparseArray |
|---|
append, clear, clone, delete, get, get, indexOfKey, indexOfValue, keyAt, put, remove, removeAt, setValueAt, size, toString, valueAt |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityLabelMap()
public ActivityLabelMap(Collection<ActivityLabel> labels)
labels - a collection of activity labelspublic ActivityLabelMap(android.support.v4.util.LongSparseArray<String> classId2NameMapping)
classId2NameMapping - the class identifier to name mapping| Method Detail |
|---|
public final List<ActivityLabel> getActivityLabelsOrdered()
public final List<ActivityLabel> getActivityLabelsWithoutPredecessor()
public final ActivityLabel[] getPossiblePredecessorsFor(ActivityLabel activityLabel)
activityLabel - the activity label to get possible predecessors for
public final boolean containsActivityWithName(String name)
name - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||