AP® Computer Science Marine Biology Simulation

Interface Locatable

All Known Implementing Classes:
Minnow

public interface Locatable

AP® Computer Science Marine Biology Simulation:
Locatable is an interface that guarantees that an object knows its location and returns it when the location method is called.

The Locatable interface is copyright© 2002 College Entrance Examination Board (www.collegeboard.com).

Version:
1 July 2002
See Also:
Location

Method Summary
 Location location()
          Returns the location of this object.
 

Method Detail

location

public Location location()
Returns the location of this object.
Returns:
the location of this object in the environment

AP® Computer Science Marine Biology Simulation

Copyright© 2002 College Entrance Examination Board