question: public void addPolylineRecord3 ( EsriLayer layer ) { OMGraphicList shapeData = new EsriPolylineList ( ) ; double [ ] part0 = new double [ ] { - 25.0f , - 140.0f , - 50.0f , - 95.0f , 65.0f , 51.0f } ; double [ ] part1 = new double [ ] { - 10.0f , - 130.0f , - 47.0f , - 101.0f , 71.0f , 59.0f } ; double [ ] part2 = new double [ ] { - 15.0f , - 151.0f , - 49.0f , - 100.0f , 76.0f , 41.0f } ; EsriPolyline poly0 = new EsriPolyline ( part0 , OMGraphic . DECIMAL_DEGREES , OMGraphic . LINETYPE_RHUMB ) ; EsriPolyline poly1 = new EsriPolyline ( part1 , OMGraphic . DECIMAL_DEGREES , OMGraphic . LINETYPE_RHUMB ) ; EsriPolyline poly2 = new EsriPolyline ( part2 , OMGraphic . DECIMAL_DEGREES , OMGraphic . LINETYPE_RHUMB ) ; shapeData . add ( poly0 ) ; shapeData . add ( poly1 ) ; shapeData . add ( poly2 ) ; ArrayList tabularData = new ArrayList ( ) ; tabularData . add ( 0 , "third value" ) ; tabularData . add ( 1 , new Double ( 20.1578 ) ) ; layer . addRecord ( shapeData , tabularData ) ; }
target:  Creates an EsriPolyline object with three parts