public Optional < TableRule > findTableRule ( final String logicTableName ) { for ( TableRule each : tableRules ) { if ( each . getLogicTable ( ) . equalsIgnoreCase ( logicTableName ) ) { return Optional . of ( each ) ; } } return Optional . absent ( ) ; }
Find table rule .