public boolean isAllBindingTables ( final Collection < String > logicTableNames ) { if ( logicTableNames . isEmpty ( ) ) { return false ; } Optional < BindingTableRule > bindingTableRule = findBindingTableRule ( logicTableNames ) ; if ( ! bindingTableRule . isPresent ( ) ) { return false ; } Collection < String > result = new TreeSet <> ( String . CASE_INSENSITIVE_ORDER ) ; result . addAll ( bindingTableRule . get ( ) . getAllLogicTables ( ) ) ; return ! result . isEmpty ( ) && result . containsAll ( logicTableNames ) ; }
Judge logic tables is all belong to binding encryptors .