public static GraphEntity [ ] toGEArray ( Object [ ] o ) { GraphEntity [ ] result = new GraphEntity [ o . length ] ; System . arraycopy ( o , 0 , result , 0 , o . length ) ; return result ; }
It casts an array of objets to an array of GraphEntity