Class DefaultTextChunkLocationComparator
java.lang.Object
com.itextpdf.kernel.pdf.canvas.parser.listener.DefaultTextChunkLocationComparator
- All Implemented Interfaces:
Comparator<ITextChunkLocation>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(ITextChunkLocation first, ITextChunkLocation second) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
leftToRight
private boolean leftToRight
-
-
Constructor Details
-
DefaultTextChunkLocationComparator
public DefaultTextChunkLocationComparator() -
DefaultTextChunkLocationComparator
public DefaultTextChunkLocationComparator(boolean leftToRight)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<ITextChunkLocation>
-