📄 deepestfind.java
字号:
/** File Name: DeepestFind.java Author: 黄增博 #B02251132 Date: March 20 2004 Description: The DeepestFind class is used to find the artifact that was found at the deepest point in the archeological dig.**/class DeepestFind{ private ArchFind deepest; public DeepestFind(ArchFind initial){ deepest = initial; } /*Check if the find item is deeper then the current deepest *item, if so replace deepest with this. */ public void update(ArchFind Find){ if (Find.getDepth()>deepest.getDepth()) deepest=Find; } public ArchFind getDeepest(){ return deepest;//return the deepest }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -