📄 intarray.java
字号:
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version: 1.3.21 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package edu.umn.gis.mapscript;public class intarray { private long swigCPtr; protected boolean swigCMemOwn; protected intarray(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected intarray() { this(0, false); } protected void finalize() { delete(); } public void delete() { if(swigCPtr != 0 && swigCMemOwn) { swigCMemOwn = false; mapscriptJNI.delete_intarray(swigCPtr); } swigCPtr = 0; } protected static long getCPtr(intarray obj) { return (obj == null) ? 0 : obj.swigCPtr; } public intarray(int nelements) { this(mapscriptJNI.new_intarray(nelements), true); } public int getitem(int index) { return mapscriptJNI.intarray_getitem(swigCPtr, index); } public void setitem(int index, int value) { mapscriptJNI.intarray_setitem(swigCPtr, index, value); } public SWIGTYPE_p_int cast() { long cPtr = mapscriptJNI.intarray_cast(swigCPtr); return (cPtr == 0) ? null : new SWIGTYPE_p_int(cPtr, false); } public static intarray frompointer(SWIGTYPE_p_int t) { long cPtr = mapscriptJNI.intarray_frompointer(SWIGTYPE_p_int.getCPtr(t)); return (cPtr == 0) ? null : new intarray(cPtr, false); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -