From 3f43ff6f290192d65814b7fc17fa98bce29c49c7 Mon Sep 17 00:00:00 2001 From: 7u83 <7u83@maiil.ru> Date: Tue, 1 Jan 2019 14:48:46 +0100 Subject: [PATCH] Added some java doc --- src/opensesim/world/World.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/opensesim/world/World.java b/src/opensesim/world/World.java index e0b6a2d..fb9414e 100644 --- a/src/opensesim/world/World.java +++ b/src/opensesim/world/World.java @@ -30,13 +30,22 @@ import java.util.Collection; import opensesim.util.scheduler.EventListener; /** - * + * The interface to the world. Used by traders. And others. * @author 7u83 <7u83@mail.ru> */ public interface World { + /** + * Get available assets in this world. + * @return Collection of {@link opensesim.world.Asset}s + */ public Collection getAssetCollection(); + /** + * Return asset by symbol + * @param symbol symbol to find + * @return asset + */ public AbstractAsset getAssetBySymbol(String symbol); Collection getExchangeCollection();