I\'m trying to perform a map operation on each entry in a Map object.
Map
I need to take a prefix off the key and convert the value from one type to another
Here is a shorter solution by AbacusUtil
Stream.of(input).toMap(e -> e.getKey().substring(subLength), e -> AttributeType.GetByName(e.getValue()));