private void setitem(int index, Cluster val) { colaPINVOKE.ClusterVector_setitem(swigCPtr, index, Cluster.getCPtr(val)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, Cluster x) { colaPINVOKE.ClusterVector_Insert(swigCPtr, index, Cluster.getCPtr(x)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public static ClusterVector Repeat(Cluster value, int count) { IntPtr cPtr = colaPINVOKE.ClusterVector_Repeat(Cluster.getCPtr(value), count); ClusterVector ret = (cPtr == IntPtr.Zero) ? null : new ClusterVector(cPtr, true); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void Add(Cluster x) { colaPINVOKE.ClusterVector_Add(swigCPtr, Cluster.getCPtr(x)); }