geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java
public void setStyles(String featureTable, long featureId, Styles styles) {
        deleteStyles(featureTable, featureId);

        if (styles != null) {

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

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

        }
    }
public void setStyles(String featureTable, long featureId, Styles styles) {
        deleteStyles(featureTable, featureId);

        if (styles != null) {

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

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

        }
    }
public void setStyles ( String featureTable , long featureId , Styles styles ) { deleteStyles ( featureTable , featureId ) ; if ( styles != null ) { if ( styles . getDefault ( ) != null ) { setStyleDefault ( featureTable , featureId , styles . getDefault ( ) ) ; } for ( Entry < GeometryType , StyleRow > style : styles . getStyles ( ) . entrySet ( ) ) { setStyle ( featureTable , featureId , style . getKey ( ) , style . getValue ( ) ) ; } } }
Set the styles for the feature table and feature id

@param featureTable feature table
@param featureId    feature id
@param styles       styles
Set the styles for the feature table and feature id