deepestfind.java
来自「java写的Archreport」· Java 代码 · 共 28 行
JAVA
28 行
/** 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 + =
减小字号Ctrl + -
显示快捷键?