Package com.jsoniter

Class CodegenImplArray


  • class CodegenImplArray
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void append​(java.lang.StringBuilder lines, java.lang.String str)  
      static java.lang.String genArray​(ClassInfo classInfo)  
      static java.lang.String genCollection​(ClassInfo classInfo)  
      private static java.lang.String genCollectionWithCapacity​(java.lang.Class clazz, java.lang.reflect.Type compType)  
      private static java.lang.String genCollectionWithoutCapacity​(java.lang.Class clazz, java.lang.reflect.Type compType)  
      • Methods inherited from class java.lang.Object

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

      • WITH_CAPACITY_COLLECTION_CLASSES

        static final java.util.Set<java.lang.Class> WITH_CAPACITY_COLLECTION_CLASSES
    • Constructor Detail

      • CodegenImplArray

        CodegenImplArray()
    • Method Detail

      • genArray

        public static java.lang.String genArray​(ClassInfo classInfo)
      • genCollection

        public static java.lang.String genCollection​(ClassInfo classInfo)
      • genCollectionWithCapacity

        private static java.lang.String genCollectionWithCapacity​(java.lang.Class clazz,
                                                                  java.lang.reflect.Type compType)
      • genCollectionWithoutCapacity

        private static java.lang.String genCollectionWithoutCapacity​(java.lang.Class clazz,
                                                                     java.lang.reflect.Type compType)
      • append

        private static void append​(java.lang.StringBuilder lines,
                                   java.lang.String str)