Allow to check if there is any user data in Features without materializing hash maps

Description

Right now checking for the presence of a usermap content forces the materialization of a hashmap in SimpleFeatureImpl, regardless of whether it's needed, or not. Allow to check if there is any userdata without allocating new objects instead.

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure