Ignore:
Timestamp:
09/27/11 20:09:17 (13 years ago)
Author:
sherbold
Message:
  • Changed data type for handling of sequence-sets. Before, List<List<Event<?>>> was used, now Collection<List<Event<?>>> is used.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/ReplayGenerator.java

    r171 r203  
    55import java.io.IOException; 
    66import java.io.OutputStreamWriter; 
     7import java.util.Collection; 
    78import java.util.List; 
    89 
     
    5051         */ 
    5152        public void createLogfileMultipleSessions( 
    52                         List<List<ReplayableEvent<?>>> sequences, String filename) { 
     53                        Collection<List<ReplayableEvent<?>>> sequences, String filename) { 
    5354                OutputStreamWriter writer = openReplayFile(filename); 
    5455                if (writer != null) { 
    5556                        try { 
    56                                 decorator = sequences.get(0).get(0).getReplayDecorator(); 
     57                                decorator = sequences.iterator().next().get(0).getReplayDecorator(); 
    5758                                if (decorator != null) { 
    5859                                        writer.write(decorator.getHeader()); 
Note: See TracChangeset for help on using the changeset viewer.