geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java
public void setTableStyles(String featureTable, Styles styles) {

        deleteTableStyles(featureTable);

        if (styles != null) {

            if (styles.getDefault() != null) {
                setTableStyleDefault(featureTable, styles.getDefault());
            }

            for (Entry<GeometryType, StyleRow> style : styles.getStyles()
                    .entrySet()) {
                setTableStyle(featureTable, style.getKey(), style.getValue());
            }

        }
    }
public void setTableStyles(String featureTable, Styles styles) {

        deleteTableStyles(featureTable);

        if (styles != null) {

            if (styles.getDefault() != null) {
                setTableStyleDefault(featureTable, styles.getDefault());
            }

            for (Entry<GeometryType, StyleRow> style : styles.getStyles()
                    .entrySet()) {
                setTableStyle(featureTable, style.getKey(), style.getValue());
            }

        }
    }
public void setTableStyles ( String featureTable , Styles styles ) { deleteTableStyles ( featureTable ) ; if ( styles != null ) { if ( styles . getDefault ( ) != null ) { setTableStyleDefault ( featureTable , styles . getDefault ( ) ) ; } for ( Entry < GeometryType , StyleRow > style : styles . getStyles ( ) . entrySet ( ) ) { setTableStyle ( featureTable , style . getKey ( ) , style . getValue ( ) ) ; } } }
Set the feature table default styles

@param featureTable feature table
@param styles       default styles
Set the feature table default styles