CloneSet1101


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.973class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115154
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/JavabeanDataSet.java
212213
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/ResultSetDataSet.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
154
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/JavabeanDataSet.java

public DataSetDefinition getDataSetDefinition() {
  return _dataSetDefinition;
}

public synchronized boolean next(IMessageHandler msgHandler) throws DataSetException {
  // TODO: This should be handled with an Iterator!!!
  if ( ++_iCurrent < _data.size()) {
    _currentRow = _data.get(_iCurrent);
    return true;
  }
  return false;
}


First
Previous
Clone Instance
2
Line Count
12
Source Line
213
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/ResultSetDataSet.java

public DataSetDefinition getDataSetDefinition() {
  return _dataSetDefinition;
}

public synchronized boolean next(IMessageHandler msgHandler) throws DataSetException {
  // TODO: This should be handled with an Iterator
  if ( ++_iCurrent < _alData.size()) {
    _currentRow = _alData.get(_iCurrent);
    return true;
  }
  return false;
}


Clone AbstractionParameter Count: 1Parameter Bindings

public DataSetDefinition getDataSetDefinition() {
  return _dataSetDefinition;
}

public synchronized boolean next(IMessageHandler msgHandler) throws DataSetException {
  // TODO: This should be handled with an Iterator!!!
  // TODO: This should be handled with an Iterator
  if ( ++_iCurrent <  [[#variable1cdc39e0]].size()) {
    _currentRow = [[#variable1cdc39e0]].get(_iCurrent);
    return true;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cdc39e0]]
_data 
12[[#1cdc39e0]]
_alData