public void addPoints(EsriLayer layer){
  ArrayList tabularData0=new ArrayList();
  tabularData0.add(0,"first value");
  tabularData0.add(1,new Double(10.54));
  layer.addRecord(new EsriPoint(30.0f,-90.0f),tabularData0);
  ArrayList tabularData1=new ArrayList();
  tabularData1.add(0,"second value");
  tabularData1.add(1,new Double(20.54));
  layer.addRecord(new EsriPoint(45.0f,-70.0f),tabularData1);
  ArrayList tabularData2=new ArrayList();
  tabularData2.add(0,"third value");
  tabularData2.add(1,new Double(30.54));
  layer.addRecord(new EsriPoint(35.0f,-120.0f),tabularData2);
}

public void addPoints ( EsriLayer layer ) { ArrayList tabularData0 = new ArrayList ( ) ; tabularData0 . add ( 0 , "first value" ) ; tabularData0 . add ( 1 , new Double ( 10.54 ) ) ; layer . addRecord ( new EsriPoint ( 30.0f , - 90.0f ) , tabularData0 ) ; ArrayList tabularData1 = new ArrayList ( ) ; tabularData1 . add ( 0 , "second value" ) ; tabularData1 . add ( 1 , new Double ( 20.54 ) ) ; layer . addRecord ( new EsriPoint ( 45.0f , - 70.0f ) , tabularData1 ) ; ArrayList tabularData2 = new ArrayList ( ) ; tabularData2 . add ( 0 , "third value" ) ; tabularData2 . add ( 1 , new Double ( 30.54 ) ) ; layer . addRecord ( new EsriPoint ( 35.0f , - 120.0f ) , tabularData2 ) ; }
creates three esripoint objects
