Class IndexedSegment

All Implemented Interfaces:
StringSegment

public class IndexedSegment extends NamedSegment
基字符串模板-基于下标的占位符 SectionBuffer

例如,"{1}"

Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • IndexedSegment

      public IndexedSegment(String idxStr, String wholePlaceholder)
  • Method Details

    • getIndex

      public int getIndex()