Class ArrayBuilder


  • class ArrayBuilder
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Class<?> componentType  
      (package private) java.util.List<java.lang.Object> list  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayBuilder​(java.lang.Class<?> componentType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.Object element)  
      java.lang.Object build()  
      • Methods inherited from class java.lang.Object

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

      • componentType

        java.lang.Class<?> componentType
      • list

        java.util.List<java.lang.Object> list
    • Constructor Detail

      • ArrayBuilder

        ArrayBuilder​(java.lang.Class<?> componentType)
    • Method Detail

      • add

        public void add​(java.lang.Object element)
      • build

        public java.lang.Object build()