Package com.sun.pdfview.font.ttf
Class CMapFormat4.Segment
java.lang.Object
com.sun.pdfview.font.ttf.CMapFormat4.Segment
- All Implemented Interfaces:
Comparable
- Enclosing class:
CMapFormat4
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSegment
(short startCode, short endCode, boolean hasMap) Create a new segment -
Method Summary
-
Field Details
-
endCode
int endCodethe end code (highest code in this segment) -
startCode
int startCodethe start code (lowest code in this segment) -
hasMap
boolean hasMapwhether it is a map or a delta
-
-
Constructor Details
-
Segment
public Segment(short startCode, short endCode, boolean hasMap) Create a new segment
-
-
Method Details
-
equals
Equals based on compareTo (only compares endCode) -
compareTo
Segments sort by increasing endCode- Specified by:
compareTo
in interfaceComparable
-