Class MinimalEncoder.ResultList.ResultNode

    • Constructor Summary

      Constructors 
      Constructor Description
      ResultNode​(Mode mode, int fromPosition, int charsetEncoderIndex, int characterLength)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void getBits​(BitArray bits)
      appends the bits
      private int getCharacterCountIndicator()
      returns the length in characters according to the specification (differs from getCharacterLength() in BYTE mode for multi byte encoded characters)
      private int getSize​(Version version)
      returns the size in bits
      private java.lang.String makePrintable​(java.lang.String s)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mode

        private final Mode mode
      • fromPosition

        private final int fromPosition
      • charsetEncoderIndex

        private final int charsetEncoderIndex
      • characterLength

        private final int characterLength
    • Constructor Detail

      • ResultNode

        ResultNode​(Mode mode,
                   int fromPosition,
                   int charsetEncoderIndex,
                   int characterLength)
    • Method Detail

      • getSize

        private int getSize​(Version version)
        returns the size in bits
      • getCharacterCountIndicator

        private int getCharacterCountIndicator()
        returns the length in characters according to the specification (differs from getCharacterLength() in BYTE mode for multi byte encoded characters)
      • toString

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

        private java.lang.String makePrintable​(java.lang.String s)