parses. ```??? synchronized static String answer(String s) { STA Matches m = new Matches(); ??? ??? if (match3("cpu usage", s)) STA return formatDouble(totalPercentage, 2) + "% in Eleu process"; ??? ??? if (match3("most active thread", s)) { STA Thread t = getMostActiveThread(); STA return t == null ? "Sorry, no info." : format3("Thread name: *, cpu: *", t.getName(), formatDouble(totalPercentage, 2) + "%"); ??? } ??? ??? if (match3("cpu: get measurement interval", s)) STA return interval + " ms"; ??? ??? if (match3("cpu: are you measuring", s)) STA return "Yes."; ??? ??? if (match3("cpu: get last measurement time", s)) STA return "" + lastMeasured; ??? ??? if (match("cpu: list all threads", s, m)) { STA List l = new ArrayList(); ??? for (Map.Entry e : infoMap.entrySet()) { STA Thread t = e.getKey(); STA Info info = e.getValue(); STA l.add(formatDouble(info.percentage, 1) + "% " + format("*", t.getName())); ??? } STA return slackSnippet(fromLines(l)); ??? } ??? ??? if (match("system load", s, m)) STA return "System load: " + formatDouble(ManagementFactory.getOperatingSystemMXBean().getSystemLoadAverage(), 1); ??? ??? if (match("cpu: processors", s, m)) { STA OperatingSystemMXBean bean = ManagementFactory.getOperatingSystemMXBean(); STA return "I have " + n(bean.getAvailableProcessors(), bean.getArch() + " processor") + "."; ??? } ??? STA return null; ??? } ```