public IVertexInstance newInstance(int i) { IVertexBasicInstance instance = (IVertexBasicInstance)newInstance(); instance.Id = i; return(instance); }
public object newInstance() { IVertexBasicInstance v = (IVertexBasicInstance)this.Vertex.newInstance(); IEdgeInstance <V, int> e = (IEdgeInstance <V, int>) this.EdgeFactory.newInstance(); instance = new IDataContainerKVInstanceImpl <V, E, int, IEdgeInstance <V, int> > (v.Id, e, Rank); return(instance); }