Class Variable

    • Constructor Detail

      • Variable

        public Variable()
    • Method Detail

      • toBinary

        public abstract byte[] toBinary()
      • toBinary

        public abstract byte[] toBinary​(String charset)
      • toString

        public abstract String toString​(String charset)
      • isEmpty

        public abstract boolean isEmpty()
      • getWrappedObject

        public abstract Object getWrappedObject()
      • toBoolean

        public boolean toBoolean()
        Safely converts this variable to boolean value.
        Returns:
        boolean value
      • toInt

        public int toInt()
        Safely converts this variable to integer value.
        Returns:
        int value
      • toLong

        public long toLong()
        Safely converts this variable to long value.
        Returns:
        long value
      • toDouble

        public double toDouble()
        Safely converts this variable to double value.
        Returns:
        double value
      • toArray

        public Object[] toArray()
        Safely converts this variable to array of objects.
        Returns:
        array of objects
      • toIterator

        public abstract Iterator toIterator()