public Key findKey ( String name ) { if ( keys == null ) { return null ; } // search rows for ( Key key : keys . kkrow ) { if ( key . name . equals ( name ) ) { return key ; } } // search columns for ( Key key : keys . kkcol ) { if ( key . name . equals ( name ) ) { return key ; } } return null ; }
Find a key with the given name