Class PlTypes


  • public class PlTypes
    extends java.lang.Object
    The Class PlTypes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte Money
      The Constant Money.
      static byte OpenMoney
      The Constant Pips.
      static byte OpenPercent
      The Constant Pips.
      static byte Percent
      The Constant Percent.
      static byte Pips
      The Constant Pips.
      static byte Ticks
      The Constant Ticks.
    • Constructor Summary

      Constructors 
      Constructor Description
      PlTypes()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValid​(byte type)
      Checks if is valid.
      static java.lang.String print​(byte plType)
      Prints the.
      static java.lang.String printPL​(double value, byte plType)
      Prints the PL.
      static java.lang.String typeToString​(byte type)
      Type to string.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlTypes

        public PlTypes()
    • Method Detail

      • print

        public static java.lang.String print​(byte plType)
        Prints the.
        Parameters:
        plType - the pl type
        Returns:
        the string
      • printPL

        public static java.lang.String printPL​(double value,
                                               byte plType)
        Prints the PL.
        Parameters:
        value - the value
        plType - the pl type
        Returns:
        the string
      • isValid

        public static boolean isValid​(byte type)
        Checks if is valid.
        Parameters:
        type - the type
        Returns:
        true, if is valid
      • typeToString

        public static java.lang.String typeToString​(byte type)
        Type to string.
        Parameters:
        type - the type
        Returns:
        the string