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