public Object visit(StatementsCommand command) { List<StatementInfo> list = new ArrayList<StatementInfo>(); for (MutableStatementInfo info : statementMap.values()) { list.add(info.fix()); } return list; }
public Object visit(ConnectionsCommand connectionsCommand) { List<ConnectionInfo> list = new ArrayList<ConnectionInfo>(); for (MutableConnectionInfo info : connectionMap.values()) { list.add(info.fix()); } return list; }