first commit
This commit is contained in:
35
CS1322/p2/SwimmingType.java
Normal file
35
CS1322/p2/SwimmingType.java
Normal file
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* <PRE>
|
||||
* SwimmingType.java
|
||||
*
|
||||
* Revisions: 1.0 Sep. 21, 2002
|
||||
* Created the SwimmingType interface
|
||||
* 1.1 Sep. 28, 2002
|
||||
* Commented
|
||||
*
|
||||
* </PRE>
|
||||
*
|
||||
* Collaboration Statement:
|
||||
* I worked on the homework assignment alone, using only
|
||||
* course materials.
|
||||
*
|
||||
* Created with JCreatorLE, some indents are off when viewed through notepad
|
||||
* or EMACS
|
||||
*
|
||||
* @author <A HREF="mailto:gtg184g@mail.gatech.edu">Jose Manuel Caban</A>
|
||||
* @version Version 1.1, Sep. 28, 2002
|
||||
*/
|
||||
|
||||
public interface SwimmingType {
|
||||
|
||||
/**
|
||||
*@param depth, the depth to set animal at
|
||||
*/
|
||||
public void setDepth(int depth);
|
||||
|
||||
/**
|
||||
*@return the depth of the animal
|
||||
*/
|
||||
public int getDepth();
|
||||
|
||||
}// end of class SwimmingType
|
||||
Reference in New Issue
Block a user