Exemple #1
0
 public void addRequestForStream(StreamDataSource sds, int serial) {
   if (afterLoadMap.containsKey(sds)) {
     List sList = (List) afterLoadMap.get(sds);
     sList.add(new Integer(serial));
   } else {
     List sList = new LinkedList();
     sList.add(new Integer(serial));
     afterLoadMap.put(sds, sList);
   }
 }
Exemple #2
0
 private void addStreamNoFire(StreamDataSource stream) {
   streams.add(stream);
   serialToStream.put(new Integer(stream.getSerial()), stream);
 }