Class Orthogonal
java.lang.Object
application.model.rules.misc.naive.ReadingOrder
application.model.rules.misc.naive.Orthogonal
public class Orthogonal extends ReadingOrder
Represents the orthogonal naive reading order
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Orthogonal()
Orthogonal(java.lang.String specifier)
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
Clones the naive reading orderjava.util.Comparator<Coordinate>
getCoordinateComparator()
Gets the coordinate comparatorjava.lang.String[]
getRegex()
Gets the regex that will identify the naive reading ordervoid
setSpecifier(java.lang.String specifier)
Sets the specifier for the naive reading order
-
Constructor Details
-
Orthogonal
public Orthogonal() -
Orthogonal
public Orthogonal(java.lang.String specifier)
-
-
Method Details
-
setSpecifier
public void setSpecifier(java.lang.String specifier)Description copied from class:ReadingOrder
Sets the specifier for the naive reading order- Specified by:
setSpecifier
in classReadingOrder
- Parameters:
specifier
- The specifier of the naive reading order
-
getRegex
public java.lang.String[] getRegex()Description copied from class:ReadingOrder
Gets the regex that will identify the naive reading order- Specified by:
getRegex
in classReadingOrder
- Returns:
- Returns the regexes that match a naive reading order
-
getCoordinateComparator
Description copied from class:ReadingOrder
Gets the coordinate comparator- Specified by:
getCoordinateComparator
in classReadingOrder
- Returns:
- Returns the coordinate comparator
-
clone
public java.lang.Object clone()Description copied from class:ReadingOrder
Clones the naive reading order- Specified by:
clone
in classReadingOrder
- Returns:
- Returns the cloned naive reading order
-