Added some java doc
This commit is contained in:
parent
a1c1196ba1
commit
3f43ff6f29
@ -30,13 +30,22 @@ import java.util.Collection;
|
|||||||
import opensesim.util.scheduler.EventListener;
|
import opensesim.util.scheduler.EventListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* The interface to the world. Used by traders. And others.
|
||||||
* @author 7u83 <7u83@mail.ru>
|
* @author 7u83 <7u83@mail.ru>
|
||||||
*/
|
*/
|
||||||
public interface World {
|
public interface World {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get available assets in this world.
|
||||||
|
* @return Collection of {@link opensesim.world.Asset}s
|
||||||
|
*/
|
||||||
public Collection<AbstractAsset> getAssetCollection();
|
public Collection<AbstractAsset> getAssetCollection();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return asset by symbol
|
||||||
|
* @param symbol symbol to find
|
||||||
|
* @return asset
|
||||||
|
*/
|
||||||
public AbstractAsset getAssetBySymbol(String symbol);
|
public AbstractAsset getAssetBySymbol(String symbol);
|
||||||
|
|
||||||
Collection<Exchange> getExchangeCollection();
|
Collection<Exchange> getExchangeCollection();
|
||||||
|
Loading…
Reference in New Issue
Block a user