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 boolean
leftToRight
-
Constructor Summary
Constructors Constructor Description DefaultTextChunkLocationComparator()
DefaultTextChunkLocationComparator(boolean leftToRight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ITextChunkLocation first, ITextChunkLocation second)
-
-
-
Method Detail
-
compare
public int compare(ITextChunkLocation first, ITextChunkLocation second)
- Specified by:
compare
in interfacejava.util.Comparator<ITextChunkLocation>
-
-