Beispiel #1
0
 public JDList(JDList other) : this(sxtwlPINVOKE.new_JDList__SWIG_1(JDList.getCPtr(other)), true)
 {
     if (sxtwlPINVOKE.SWIGPendingException.Pending)
     {
         throw sxtwlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public JDListEnumerator(JDList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, JDList values)
 {
     sxtwlPINVOKE.JDList_SetRange(swigCPtr, index, JDList.getCPtr(values));
     if (sxtwlPINVOKE.SWIGPendingException.Pending)
     {
         throw sxtwlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public void AddRange(JDList values)
 {
     sxtwlPINVOKE.JDList_AddRange(swigCPtr, JDList.getCPtr(values));
     if (sxtwlPINVOKE.SWIGPendingException.Pending)
     {
         throw sxtwlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
    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);
    }
Beispiel #6
0
    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);
    }
Beispiel #7
0
    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);
    }
Beispiel #8
0
 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);
 }