Class StringPool


  • @Immutable
    public final class StringPool
    extends java.lang.Object
    Aggregates strings into a StringPool

    The zeroth offset in the string pool is always the empty string. This is validated inside TypedAstDeserializer.

    This implies default/unset/0-valued uuint32 StringPool pointers in protos are equivalent to the empty string.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static StringPool empty()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait