Method Summary |
|
protected Segment | add(Segment seg) Add the visit count from another segment. |
public int | getFrom() Get the 'from' value. |
public int | getIndex() Get the (ideally unique) index of the segment. |
public int | getTo() Get the 'to' value. |
public int | getVisits() Get the number of visits so far. |
public void | reset() Set the number of visits to zero. |
public void | setFrom(int n) Set the 'from' value. |
public void | setIndex(int n) Set the segment index. |
public void | setTo(int n) Set the 'to' value. |
public void | setVisits(int n) Set the number of visits; may never be used. |
public String | toString() Format the segment for output as a String. |
public String | toXML(String type) Format the segment for XML output. |
public void | visit() Step the visit count. |