From 9a4983c745c99f5e0e97f2056bc2332cb7e5d803 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 23 Feb 2014 17:44:42 +0100 Subject: Explain getExitString() --- report/progression.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 1f75fd3..74673f5 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -36,13 +36,17 @@ print the availability of the new exits, used in the stairwell at wing 3. Due to the architecture of these rooms, the side exits that were previously settled to link them have been kept. -\subsection{keySet} +\subsection{keySet ?} The keySet() method of the class HashMap returns a Set of the keys contained in the map. \subsection{getExitString ?} +The getExitString() method returns a String listing the room's exits. +To achieve that, it iterates through the exits Map's keys, that is a Set of +Strings, appending each one to the String that it returns. + \subsection{getLongDescription} \subsection{Object diagram} -- cgit v1.2.3