Add Javadoc. No code changes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2533 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
60c3a31242
commit
202018fac4
@ -143,6 +143,12 @@ public class ColumnModel implements Jsonizable {
|
||||
return _nameToColumn.get(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the index of the column with the given name.
|
||||
*
|
||||
* @param name column name to look up
|
||||
* @return index of column with given name or -1 if not found.
|
||||
*/
|
||||
synchronized public int getColumnIndexByName(String name) {
|
||||
for (int i = 0; i < _columnNames.size(); i++) {
|
||||
String s = _columnNames.get(i);
|
||||
|
Loading…
Reference in New Issue
Block a user