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 TypeMethodDescriptionintcompare(ITextChunkLocation first, ITextChunkLocation second) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
comparein interfaceComparator<ITextChunkLocation>
-