Class DefaultTextChunkLocationComparator
- java.lang.Object
-
- com.itextpdf.kernel.pdf.canvas.parser.listener.DefaultTextChunkLocationComparator
-
- All Implemented Interfaces:
java.util.Comparator<ITextChunkLocation>
class DefaultTextChunkLocationComparator extends java.lang.Object implements java.util.Comparator<ITextChunkLocation>
-
-
Field Summary
Fields Modifier and Type Field Description private booleanleftToRight
-
Constructor Summary
Constructors Constructor Description DefaultTextChunkLocationComparator()DefaultTextChunkLocationComparator(boolean leftToRight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(ITextChunkLocation first, ITextChunkLocation second)
-
-
-
Method Detail
-
compare
public int compare(ITextChunkLocation first, ITextChunkLocation second)
- Specified by:
comparein interfacejava.util.Comparator<ITextChunkLocation>
-
-