public class SurveyPath extends LinkedHashSet<Block>
| Constructor and Description |
|---|
SurveyPath() |
SurveyPath(Collection<Block> coll) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static SurveyPath |
getPath(SurveyResponse r)
Returns the set of enclosing blocks for this survey response.
|
int |
getPathLength() |
List<Question> |
getQuestionsFromPath()
Returns all questions in a block list (typically the topLevelBlocks of a Survey).
|
add, clear, clone, contains, isEmpty, iterator, remove, sizehashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringpublic SurveyPath()
public SurveyPath(Collection<Block> coll)
public static SurveyPath getPath(SurveyResponse r)
r - A single survey responsespublic List<Question> getQuestionsFromPath()
public int getPathLength()
public boolean equals(Object o)
equals in interface Collection<Block>equals in interface Set<Block>equals in class AbstractSet<Block>Copyright © 2015. All rights reserved.