- Timestamp:
- 09/28/11 03:03:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDlistSymbols.java
r179 r209 44 44 if (dataObject == null) { 45 45 Console.println("Model " + modelname + "not found in storage."); 46 } else if (!(dataObject instanceof IStochasticProcess)) { 46 return; 47 } 48 if (!(dataObject instanceof IStochasticProcess)) { 47 49 Console.println("Object " + modelname 48 50 + " is not a stochastic process!"); 49 } else {50 model = (IStochasticProcess) dataObject;51 String[] stateStrings = model.getSymbolStrings();52 if (sort) {53 Arrays.sort(stateStrings);54 }55 for (String stateString : stateStrings) {56 Console.println(stateString);57 }51 return; 52 } 53 model = (IStochasticProcess) dataObject; 54 String[] stateStrings = model.getSymbolStrings(); 55 if (sort) { 56 Arrays.sort(stateStrings); 57 } 58 for (String stateString : stateStrings) { 59 Console.println(stateString); 58 60 } 59 61 }
Note: See TracChangeset
for help on using the changeset viewer.