Class StringSubstitutor.Result

  • Enclosing class:
    StringSubstitutor

    private static final class StringSubstitutor.Result
    extends java.lang.Object
    The low-level result of a substitution.
    Since:
    1.9
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean altered
      Whether the buffer is altered.
      int lengthChange
      The length of change.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Result​(boolean altered, int lengthChange)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • altered

        public final boolean altered
        Whether the buffer is altered.
      • lengthChange

        public final int lengthChange
        The length of change.
    • Constructor Detail

      • Result

        private Result​(boolean altered,
                       int lengthChange)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object