@param type The type of the markup from Node.MARK_TYPES. */
public void addMarked(GoPoint point, MarkType type)
{
assert point != null;
Map<MarkType,PointList> marked = createMarked();
PointList pointList = (PointList)marked.get(type);
if (pointList == null)
{
pointList = new PointList(1);
pointList.add(point);
marked.put(type, pointList);
}
else if (! pointList.contains(point))
pointList.add(point);
}