public JDList(JDList other) : this(sxtwlPINVOKE.new_JDList__SWIG_1(JDList.getCPtr(other)), true) { if (sxtwlPINVOKE.SWIGPendingException.Pending) { throw sxtwlPINVOKE.SWIGPendingException.Retrieve(); } }
public JDListEnumerator(JDList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, JDList values) { sxtwlPINVOKE.JDList_SetRange(swigCPtr, index, JDList.getCPtr(values)); if (sxtwlPINVOKE.SWIGPendingException.Pending) { throw sxtwlPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddRange(JDList values) { sxtwlPINVOKE.JDList_AddRange(swigCPtr, JDList.getCPtr(values)); if (sxtwlPINVOKE.SWIGPendingException.Pending) { throw sxtwlPINVOKE.SWIGPendingException.Retrieve(); } }
public static JDList siZhu2Year(GZ year, GZ yue, GZ ri, GZ shi, int fromYear, int toYear) { JDList ret = new JDList(sxtwlPINVOKE.siZhu2Year(GZ.getCPtr(year), GZ.getCPtr(yue), GZ.getCPtr(ri), GZ.getCPtr(shi), fromYear, toYear), true); if (sxtwlPINVOKE.SWIGPendingException.Pending) { throw sxtwlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static JDList Repeat(double value, int count) { global::System.IntPtr cPtr = sxtwlPINVOKE.JDList_Repeat(value, count); JDList ret = (cPtr == global::System.IntPtr.Zero) ? null : new JDList(cPtr, true); if (sxtwlPINVOKE.SWIGPendingException.Pending) { throw sxtwlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public JDList GetRange(int index, int count) { global::System.IntPtr cPtr = sxtwlPINVOKE.JDList_GetRange(swigCPtr, index, count); JDList ret = (cPtr == global::System.IntPtr.Zero) ? null : new JDList(cPtr, true); if (sxtwlPINVOKE.SWIGPendingException.Pending) { throw sxtwlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(JDList obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }