Class MutableTPCANHandle

java.lang.Object
peak.can.basic.MutableTPCANHandle

public class MutableTPCANHandle extends Object
The MutableTPCANHandle class wraps a value of the immutable enumeration TPCANHandle in an object (to be used with the JNI library).
  • Field Details

  • Constructor Details

    • MutableTPCANHandle

      public MutableTPCANHandle()
      Constructor
    • MutableTPCANHandle

      public MutableTPCANHandle(TPCANHandle value)
      Constructor
      Parameters:
      value - TPCANHandle value
    • MutableTPCANHandle

      public MutableTPCANHandle(short value)
      Constructor based on internal TPCANHandle enum value
      Parameters:
      value - TPCANHandle as string
  • Method Details

    • getValue

      public TPCANHandle getValue()
      Gets TPCANHandle value
      Returns:
      TPCANHandle value
    • setValue

      public void setValue(TPCANHandle value)
      Sets TPCANHandle value
      Parameters:
      value - TPCANHandle value
    • toString

      public String toString()
      Overrides toString() to display int value
      Overrides:
      toString in class Object
      Returns:
      MutableInteger's value as a string