Class ValueImpl

  • All Implemented Interfaces:
    Value

    public class ValueImpl
    extends java.lang.Object
    implements Value
    • Method Detail

      • regular

        public static ValueImpl regular​(java.lang.String value,
                                        int priority)
      • mergeWith

        public Value mergeWith​(Value other)
      • addPriority

        public Value addPriority​(int delta)
      • toString

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

        public java.lang.String asString()
        Specified by:
        asString in interface Value
      • asBoolean

        public boolean asBoolean()
        Specified by:
        asBoolean in interface Value
      • asInt

        public int asInt​(boolean minusOneIfError)
        Specified by:
        asInt in interface Value
      • asDouble

        public double asDouble()
        Specified by:
        asDouble in interface Value
      • asFontStyle

        public int asFontStyle()
        Specified by:
        asFontStyle in interface Value
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface Value