⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lispptr.java

📁 计算机代数系统
💻 JAVA
字号:
package net.sf.yacas;/** class LispPtr. This class is a smart pointer type class to Lisp *  objects that can be inserted into linked lists. They do the actual *  reference counting, and consequent destruction of the object if *  nothing points to it. LispPtr is used in LispObject as a pointer *  to the next object, and in diverse parts of the built-in internal *  functions to hold temporary values. */class LispPtr {    public LispPtr()	{		iNext = null;	}    public LispPtr(LispPtr aOther)	{		iNext = aOther.iNext;	}    public LispPtr(LispObject aOther)	{		iNext = aOther;	}    public void Set(LispObject aNext)	{		iNext = aNext;	}    public LispObject Get()	{		return iNext;	}    public void GoNext()	{		iNext = iNext.iNext.iNext;	}    void DoSet(LispObject aNext)	{		iNext = aNext;	}    LispObject iNext;};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -