📄 substbehaviour.java
字号:
package net.sf.yacas;/** Substing one expression for another. The simplest form * of substitution */class SubstBehaviour implements SubstBehaviourBase{ public SubstBehaviour(LispEnvironment aEnvironment,LispPtr aToMatch, LispPtr aToReplaceWith) { iEnvironment = aEnvironment; iToMatch = aToMatch; iToReplaceWith = aToReplaceWith; } public boolean Matches(LispPtr aResult, LispPtr aElement) throws Exception { if (LispStandard.InternalEquals(iEnvironment, aElement, iToMatch)) { aResult.Set(iToReplaceWith.Get().Copy(false)); return true; } return false; } LispEnvironment iEnvironment; LispPtr iToMatch; LispPtr iToReplaceWith;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -