All Packages Class Hierarchy This Package Previous Next Index
Class math.topol.Braid.CurveDiagram.Interval
java.lang.Object
|
+----math.topol.Braid.CurveDiagram.Interval
- public class Interval
- extends Object
- implements Cloneable
Implements a list of CutPoints in an interval. Does not include
the CutPoints which are endpoints of the interval.
- Version:
- $Id: Interval.java,v 1.6 1999/02/12 20:38:50 djun Exp djun $
Copyright (c)1998-1999 Djun Kim. The author reserves all rights.
-
Interval(int)
-
-
append(CutPoint)
- Appends the given CutPoint to this Interval.
-
elements()
- Returns an enumeration of the CutPoints in this interval.
-
lastElement()
- Gets the last CutPoint in this Interval.
-
prepend(CutPoint)
-
-
remove(CutPoint)
- Removes the given CutPoint from this Interval.
-
respace()
- Recomputes the position of each CutPoint in the interval
so that the points are equally spaced from each other and
the interval endpoints.
-
reverse()
- Reverse the order of elements in this interval.
-
toString()
- Returns a String which represents this Interval.
Interval
public Interval(int anchor)
elements
public Enumeration elements()
- Returns an enumeration of the CutPoints in this interval.
remove
public void remove(CutPoint del)
- Removes the given CutPoint from this Interval.
append
public void append(CutPoint point)
- Appends the given CutPoint to this Interval.
lastElement
public CutPoint lastElement()
- Gets the last CutPoint in this Interval.
prepend
public void prepend(CutPoint point)
reverse
public void reverse()
- Reverse the order of elements in this interval.
respace
public void respace()
- Recomputes the position of each CutPoint in the interval
so that the points are equally spaced from each other and
the interval endpoints.
toString
public String toString()
- Returns a String which represents this Interval.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index