Class Segments

java.lang.Object
   |
   +----Segments

public class Segments
extends Object
implements Serializable
a collection of segments. linkedlist ‚̉B•Á


Variable Index

 o segments

Method Index

 o append(Segment)
 o clear()
 o contain_identical_segment(Segment)
 o currentElement()
 o elements()
 o get_closest(double, double, double)
 o hasMoreElements()
 o nextElement()
 o remove()
 o remove(Object)
 o reset()
reset the cursor
 o size()

Variables

 o segments
 public LinkedList segments

Methods

 o get_closest
 public Segment get_closest(double x,
                            double y,
                            double min)
 o contain_identical_segment
 public boolean contain_identical_segment(Segment segment)
 o append
 public void append(Segment segment)
 o remove
 public void remove()
 o remove
 public void remove(Object object)
 o clear
 public void clear()
 o size
 public int size()
 o elements
 public Enumeration elements()
 o reset
 public void reset()
reset the cursor

 o hasMoreElements
 public boolean hasMoreElements()
 o currentElement
 public Segment currentElement()
 o nextElement
 public Segment nextElement()