src/main/java/de/blau/android/presets/PresetItem.java
/**
     * Check if this PresetItem represents an irl object
     * 
     * @param preset the Preset to
     * @return true if a irl object
     */
Check if this PresetItem represents an irl object

@param preset the Preset to
@return true if a irl object
Check if this PresetItem represents an irl object @param preset the Preset to @return true if a irl object
private boolean isObject(@NonNull Preset preset) {
        Set<String> tags = getFixedTags().keySet();
        if (tags.isEmpty()) {
            tags = getFields().keySet();
        }
        for (String k : tags) {
            if (Tags.IMPORTANT_TAGS.contains(k) || preset.isObjectKey(k)) {
                return true;
            }
        }
        return false;
    }
private boolean isObject ( @ NonNull Preset preset ) { Set < String > tags = getFixedTags ( ) . keySet ( ) ; if ( tags . isEmpty ( ) ) { tags = getFields ( ) . keySet ( ) ; } for ( String k : tags ) { if ( Tags . IMPORTANT_TAGS . contains ( k ) || preset . isObjectKey ( k ) ) { return true ; } } return false ; }
Check if this PresetItem represents an irl object
Check if this PresetItem represents an irl object