class TableIndexes {

    public TableIndex getTableIndex(String fieldName)
    {
        if(fieldName == null) return null;
        // just select any TableIndex from the field's set
        List<TableIndex> tableIndexSet = fieldToIndexSetMap.get(fieldName);
        return (tableIndexSet == null || tableIndexSet.size() == 0)
            ? null
            : tableIndexSet.get(0);
    }

}