- int length = _refSeq.getEnd()-_refSeq.getStart()+1;
-
- // assume indices are with respect to range defined by _refSeq on the dataset refSeq
- Iterator<Long> rows = ((List<Long>)pae_obj.get("residue1")).iterator();
- Iterator<Long> cols = ((List<Long>)pae_obj.get("residue2")).iterator();
- Iterator<Double> scores = ((List<Double>)pae_obj.get("distance")).iterator();
-
- elements=new float[length][length];
- while (scores.hasNext()) {
- float escore=scores.next().floatValue();
- int row=rows.next().intValue();
- int col=cols.next().intValue();
- if (maxrow<row)
+ int length = _refSeq.getEnd() - _refSeq.getStart() + 1;
+
+ // assume indices are with respect to range defined by _refSeq on the
+ // dataset refSeq
+ Iterator<Long> rows = ((List<Long>) pae_obj.get("residue1")).iterator();
+ Iterator<Long> cols = ((List<Long>) pae_obj.get("residue2")).iterator();
+ Iterator<Double> scores = ((List<Double>) pae_obj.get("distance"))
+ .iterator();
+
+ elements = new float[length][length];
+ while (scores.hasNext())
+ {
+ float escore = scores.next().floatValue();
+ int row = rows.next().intValue();
+ int col = cols.next().intValue();
+ if (maxrow < row)