Class CFFOperator


  • public final class CFFOperator
    extends java.lang.Object
    This class represents a CFF operator.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.Integer,​java.lang.String> keyMap  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CFFOperator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int calculateKey​(int b0, int b1)  
      static java.lang.String getOperator​(int b0)
      Returns the operator name corresponding to the given one byte representation.
      static java.lang.String getOperator​(int b0, int b1)
      Returns the operator name corresponding to the given two byte representation.
      private static void register​(int b0, int b1, java.lang.String name)  
      private static void register​(int b0, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • keyMap

        private static final java.util.Map<java.lang.Integer,​java.lang.String> keyMap
    • Constructor Detail

      • CFFOperator

        private CFFOperator()
    • Method Detail

      • register

        private static void register​(int b0,
                                     java.lang.String name)
      • register

        private static void register​(int b0,
                                     int b1,
                                     java.lang.String name)
      • getOperator

        public static java.lang.String getOperator​(int b0)
        Returns the operator name corresponding to the given one byte representation.
        Parameters:
        b0 - the first byte of the operator
        Returns:
        the corresponding operator name
      • getOperator

        public static java.lang.String getOperator​(int b0,
                                                   int b1)
        Returns the operator name corresponding to the given two byte representation.
        Parameters:
        b0 - the first byte of the operator
        b1 - the second byte of the operator
        Returns:
        the corresponding operator name
      • calculateKey

        private static int calculateKey​(int b0,
                                        int b1)