Class LimitedCharArrayIntegerUtil


  • public final class LimitedCharArrayIntegerUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void copy​(char[] buf, int srcPos, char[] target, int offset, int length)  
      private static void copy​(char[] buf, int srcPos, int offset, int length)  
      private static void createBufferEntry​(char[] buf, int offset, int charLength, int value)  
      static int parsePositiveInt​(java.lang.String strNum, int startInclusive, int endExclusive)  
      static void toString​(int value, char[] buf, int offset, int charLength)  
      private static void zeroFill​(char[] buf, int offset, int padPrefixLen)  
      • Methods inherited from class java.lang.Object

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

      • LimitedCharArrayIntegerUtil

        private LimitedCharArrayIntegerUtil()
    • Method Detail

      • parsePositiveInt

        public static int parsePositiveInt​(java.lang.String strNum,
                                           int startInclusive,
                                           int endExclusive)
      • toString

        public static void toString​(int value,
                                    char[] buf,
                                    int offset,
                                    int charLength)
      • createBufferEntry

        private static void createBufferEntry​(char[] buf,
                                              int offset,
                                              int charLength,
                                              int value)
      • zeroFill

        private static void zeroFill​(char[] buf,
                                     int offset,
                                     int padPrefixLen)
      • copy

        private static void copy​(char[] buf,
                                 int srcPos,
                                 int offset,
                                 int length)
      • copy

        private static void copy​(char[] buf,
                                 int srcPos,
                                 char[] target,
                                 int offset,
                                 int length)