geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java
public Icons getCachedTableIcons() {

        Icons icons = cachedTableFeatureStyles.getIcons();

        if (icons == null) {
            synchronized (cachedTableFeatureStyles) {
                icons = cachedTableFeatureStyles.getIcons();
                if (icons == null) {
                    icons = getTableIcons();
                    if (icons == null) {
                        icons = new Icons();
                    }
                    cachedTableFeatureStyles.setIcons(icons);
                }
            }
        }

        if (icons.isEmpty()) {
            icons = null;
        }

        return icons;
    }
public Icons getCachedTableIcons() {

        Icons icons = cachedTableFeatureStyles.getIcons();

        if (icons == null) {
            synchronized (cachedTableFeatureStyles) {
                icons = cachedTableFeatureStyles.getIcons();
                if (icons == null) {
                    icons = getTableIcons();
                    if (icons == null) {
                        icons = new Icons();
                    }
                    cachedTableFeatureStyles.setIcons(icons);
                }
            }
        }

        if (icons.isEmpty()) {
            icons = null;
        }

        return icons;
    }
Get the cached table icons, querying and caching if needed

@return cached table icons