Class DupDetector


  • public class DupDetector
    extends java.lang.Object
    Helper class used if JsonParser.Feature.STRICT_DUPLICATE_DETECTION is enabled. Optimized to try to limit memory usage and processing overhead for smallest entries, but without adding trashing (immutable objects would achieve optimal memory usage but lead to significant number of discarded temp objects for scopes with large number of entries). Another consideration is trying to limit actual number of compiled classes as it contributes significantly to overall jar size (due to linkage etc).
    Since:
    2.3