Class CFFParser.RangeMapping

  • Enclosing class:
    CFFParser

    private static final class CFFParser.RangeMapping
    extends java.lang.Object
    Inner class representing a rang mapping for a CID charset.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RangeMapping​(int startGID, int first, int nLeft)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean isInRange​(int value)  
      (package private) boolean isInReverseRange​(int value)  
      (package private) int mapReverseValue​(int value)  
      (package private) int mapValue​(int value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • startValue

        private final int startValue
      • endValue

        private final int endValue
      • startMappedValue

        private final int startMappedValue
      • endMappedValue

        private final int endMappedValue
    • Constructor Detail

      • RangeMapping

        private RangeMapping​(int startGID,
                             int first,
                             int nLeft)
    • Method Detail

      • isInRange

        boolean isInRange​(int value)
      • isInReverseRange

        boolean isInReverseRange​(int value)
      • mapValue

        int mapValue​(int value)
      • mapReverseValue

        int mapReverseValue​(int value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object