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