Lines Matching refs:IntegerSegment
137 private final List<IntegerSegment> rowsMetrics;
147 private final List<IntegerSegment> pagesMetrics;
291 Collections.synchronizedList(new ArrayList<IntegerSegment>());
292 this.rowsMetrics = new ArrayList<IntegerSegment>(LIST_SIZE);
728 new IntegerSegment(pageStart, pageStart + pageHeight - 1));
731 pagesMetrics.add(new IntegerSegment(pageStart,
750 List<IntegerSegment> documentMetrics = new ArrayList<IntegerSegment>(LIST_SIZE);
768 documentMetrics.add(new IntegerSegment(y, y + height - 1));
781 for (IntegerSegment segment : documentMetrics) {
784 rowsMetrics.add(new IntegerSegment(yStart, yEnd));
793 rowsMetrics.add(new IntegerSegment(yStart, yEnd));
802 private static class IntegerSegment implements Comparable<IntegerSegment> {
806 IntegerSegment(int start, int end) {
811 public int compareTo(IntegerSegment object) {
818 if (obj instanceof IntegerSegment) {
819 return compareTo((IntegerSegment) obj) == 0;
836 return "IntegerSegment [" + start + ", " + end + "]";