com.fasterxml.jackson.databind.util

Class ContainerBuilder



  • public final class ContainerBuilder
    extends Object
    Helper class used for constructing "untyped" List, Map and Object[] values.
    Since:
    2.4
    • Constructor Detail

      • ContainerBuilder

        public ContainerBuilder(int bufSize)
    • Method Detail

      • canReuse

        public boolean canReuse()
      • bufferLength

        public int bufferLength()
      • start

        public int start()
      • startList

        public int startList(Object value)
      • startMap

        public int startMap(String key,
                   Object value)
      • add

        public void add(Object value)
      • finishList

        public List<Object> finishList(int prevStart)
      • finishArray

        public Object[] finishArray(int prevStart)
      • finishArray

        public <T> Object[] finishArray(int prevStart,
                               Class<T> elemType)

Copyright © 2014-2015 FasterXML. All Rights Reserved.