JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
prob2
Interface Teleporter
All Known Implementing Classes:
GreenMartian
public interface
Teleporter
This interface specifies that implementers must provide way to teleport to a destination.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
String
teleport
(String dest)
Implementing classes implement this method by returning a string that represents the martian teleporting to
dest
.
Method Detail
teleport
String teleport(String dest)
Implementing classes implement this method by returning a string that represents the martian teleporting to
dest
.
Parameters:
dest
- This is the destination for the teleportation and is used in the string that this method returns.
Skip navigation links
Package
Class
Use
Tree
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method