public int lookupBlockName(String blockName) {
        Integer blockNoWrapper = blockNameToNoMap.get(blockName.toUpperCase());
        if (blockNoWrapper == null) {
            return -1;
        }
        int blockNo = blockNoWrapper.intValue();
        return blockNo;
    }
public int lookupBlockName ( String blockName ) { Integer blockNoWrapper = blockNameToNoMap . get ( blockName . toUpperCase ( ) ) ; if ( blockNoWrapper == null ) { return - 1 ; } int blockNo = blockNoWrapper . intValue ( ) ; return blockNo ; }
Returns -1 if the block name is not found.