Class BinaryRepresentation

    • Constructor Detail

      • BinaryRepresentation

        public BinaryRepresentation()
    • Method Detail

      • toStringOf

        public java.lang.String toStringOf​(java.lang.Object object)
        Returns binary the toString representation of the given object. It may or not the object's own implementation of toString.
        Specified by:
        toStringOf in interface Representation
        Overrides:
        toStringOf in class StandardRepresentation
        Parameters:
        object - the given object.
        Returns:
        the toString representation of the given object.
      • toStringOf

        protected java.lang.String toStringOf​(Representation representation,
                                              java.lang.String s)
      • toStringOf

        protected java.lang.String toStringOf​(java.lang.Byte b)
      • toStringOf

        protected java.lang.String toStringOf​(java.lang.Short s)
      • toStringOf

        protected java.lang.String toStringOf​(java.lang.Integer i)
      • toStringOf

        protected java.lang.String toStringOf​(java.lang.Double d)
      • toGroupedBinary

        private static java.lang.String toGroupedBinary​(java.lang.String value,
                                                        int size)
      • toBinary

        private static java.lang.String toBinary​(java.lang.String value,
                                                 int size)