Initial revision
public class Skeleton { Point[] points; Element[] elements; Annotation[] annotations; Skeleton(Point[] points,Element[] elements,Annotation[] annotations){ this.points=points; this.elements=elements; this.annotations=annotations; } public Point[] getPoints(){ return points;} public Element[] getElements(){ return elements;} public Annotation[] getAnnotations(){ return annotations;} public String toString(){ String ret="Skeleton("; int i,len=points.length; for(i=0;i<len;i++) ret+=points[i].toString()+","; len=elements.length; for(i=0;i<len;i++) ret+=elements[i].toString()+","; return ret+")"; } }
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |