Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8044732

ConsString should provide accessors for left and right parts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8
    • core-libs
    • None

      ConsString should provide accessors for its left and right parts so that applications can avoid the expensive flattening operation by dealing with the left/right parts directly. The following API is suggested -

          public CharSequence left() { return left; }
          public CharSequence right() { return right; }

      Thanks

            hannesw Hannes Wallnoefer
            akhil Akhil Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: