Class ListUtils
java.lang.Object
org.verapdf.wcag.algorithms.semanticalgorithms.utils.ListUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckChildrenListInterval(ListIntervalsCollection listIntervalsCollection, ListInterval listInterval, List<INode> children) static Set<ListInterval>getChildrenListIntervals(Set<ListInterval> listIntervals, List<INode> children) static booleanisDetectedListNode(INode node) static booleanisInitialListNode(INode node) static booleanstatic booleanisListImageLabels(List<BoundingBox> listLabels) static voidupdateTreeWithRecognizedList(INode node, ListInterval listInterval) static voidupdateTreeWithRecognizedListItem(INode item, Long listId) static voidupdateTreeWithRecognizedLists(INode node, Set<ListInterval> listIntervals)
-
Field Details
-
LIST_LABEL_HEIGHT_EPSILON
public static final double LIST_LABEL_HEIGHT_EPSILON- See Also:
-
ONE_COLUMN_EPSILON
public static final double ONE_COLUMN_EPSILON- See Also:
-
-
Constructor Details
-
ListUtils
public ListUtils()
-
-
Method Details
-
isDetectedListNode
-
isInitialListNode
-
isList
-
isListImageLabels
-
updateTreeWithRecognizedLists
-
updateTreeWithRecognizedList
-
updateTreeWithRecognizedListItem
-
getChildrenListIntervals
public static Set<ListInterval> getChildrenListIntervals(Set<ListInterval> listIntervals, List<INode> children) -
checkChildrenListInterval
public static void checkChildrenListInterval(ListIntervalsCollection listIntervalsCollection, ListInterval listInterval, List<INode> children)
-