Class CFFOperator.Key

  • Enclosing class:
    CFFOperator

    public static class CFFOperator.Key
    extends java.lang.Object
    This class is a holder for a key value. It consists of one or two bytes.
    Author:
    Villu Ruusmann
    • Constructor Summary

      Constructors 
      Constructor Description
      Key​(int b0)
      Constructor.
      Key​(int b0, int b1)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)
      int[] getValue()
      Returns the value of the key.
      int hashCode()
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Key

        public Key​(int b0)
        Constructor.
        Parameters:
        b0 - the one byte value
      • Key

        public Key​(int b0,
                   int b1)
        Constructor.
        Parameters:
        b0 - the first byte of a two byte value
        b1 - the second byte of a two byte value
    • Method Detail

      • getValue

        public int[] getValue()
        Returns the value of the key.
        Returns:
        the value
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object