com.fasterxml.jackson.databind.util

Class TokenBuffer.Segment

  • Enclosing class:
    TokenBuffer


    protected static final class TokenBuffer.Segment
    extends Object
    Individual segment of TokenBuffer that can store up to 16 tokens (limited by 4 bits per token type marker requirement). Current implementation uses fixed length array; could alternatively use 16 distinct fields and switch statement (slightly more efficient storage, slightly slower access)

Copyright © 2008–2021 FasterXML. All rights reserved.