diff --git a/app/src/main/java/com/example/cosmosclient/app/Cosmos.java b/app/src/main/java/com/example/cosmosclient/app/Cosmos.java index ede712b..b7687e0 100644 --- a/app/src/main/java/com/example/cosmosclient/app/Cosmos.java +++ b/app/src/main/java/com/example/cosmosclient/app/Cosmos.java @@ -4,10 +4,8 @@ import com.example.cosmosclient.entities.AreaInformation; import com.example.cosmosclient.entities.Group; -import com.example.cosmosclient.entities.Location; -import java.util.HashMap; - +import java.util.Collection; import java.util.HashMap; public class Cosmos extends Application { @@ -48,6 +46,10 @@ return groups.get(gId); } + public Collection getGroups() { + return groups.values(); + } + //uId処理 public void setuId(String uId){ this.uId = uId;