Revision: 1.1.1.1 - (view) (download) (as text)
1 : | ktanaka | 1.1 | |
2 : | public class Skeleton { | ||
3 : | Point[] points; | ||
4 : | Element[] elements; | ||
5 : | Annotation[] annotations; | ||
6 : | Skeleton(Point[] points,Element[] elements,Annotation[] annotations){ | ||
7 : | this.points=points; | ||
8 : | this.elements=elements; | ||
9 : | this.annotations=annotations; | ||
10 : | } | ||
11 : | public Point[] getPoints(){ return points;} | ||
12 : | public Element[] getElements(){ return elements;} | ||
13 : | public Annotation[] getAnnotations(){ return annotations;} | ||
14 : | public String toString(){ | ||
15 : | String ret="Skeleton("; | ||
16 : | int i,len=points.length; | ||
17 : | for(i=0;i<len;i++) | ||
18 : | ret+=points[i].toString()+","; | ||
19 : | len=elements.length; | ||
20 : | for(i=0;i<len;i++) | ||
21 : | ret+=elements[i].toString()+","; | ||
22 : | return ret+")"; | ||
23 : | } | ||
24 : | } |
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |