public S2Polygon assemblePolygon(){
  S2Polygon polygon=new S2Polygon();
  List<S2Edge> unusedEdges=Lists.newArrayList();
  assemblePolygon(polygon,unusedEdges);
  return polygon;
}

public S2Polygon assemblePolygon ( ) { S2Polygon polygon = new S2Polygon ( ) ; List < S2Edge > unusedEdges = Lists . newArrayList ( ) ; assemblePolygon ( polygon , unusedEdges ) ; return polygon ; }
convenience method for when you don ' t care about unused edges .
