LineSet () { LineSet lineSet = myLineSet; if (lineSet == null) { synchronized (myLineSetLock) { lineSet = myLineSet; if (lineSet == null) { lineSet = LineSet.createLineSet(myText); myLineSet = lineSet; } } } return lineSet; }