<s>[INST] checks that the first and last vertex of the vertex list are equal . concode_field_sep List<VectorXZ> vertexLoop concode_field_sep List<VectorXZ> getVertexCollection concode_elem_sep VectorXZ getCenter concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_sep double getOutlineLength concode_elem_sep SimplePolygonXZ asSimplePolygon concode_elem_sep PolygonXZ reverse concode_elem_sep VectorXZ getVertex concode_elem_sep List<VectorXZ> intersectionPositions concode_elem_sep boolean isEquivalentTo concode_elem_sep List<VectorXZ> getVertexLoop concode_elem_sep LineSegmentXZ getClosestSegment concode_elem_sep int size concode_elem_sep Collection<LineSegmentXZ> intersectionSegments concode_elem_sep TriangleXZ asTriangleXZ concode_elem_sep boolean isSelfIntersecting concode_elem_sep boolean isSelfIntersecting concode_elem_sep PolygonXYZ xyz concode_elem_sep List<VectorXZ> getVertices concode_elem_sep VectorXZ getVertexAfter concode_elem_sep boolean isSimple concode_elem_sep String toString concode_elem_sep VectorXZ getVertexBefore concode_elem_sep List<LineSegmentXZ> getSegments [/INST] void function ( List < VectorXZ > arg0 ) { if ( ! arg0 . get ( 0 ) . equals ( arg0 . get ( arg0 . size ( ) - 1 ) ) ) { throw new IllegalArgumentException ( "srini_string" + "srini_string" + arg0 ) ; } </s>