a bit more typesafety by using a custom class rather than Map.Entry - more incremental changes to follow

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1571229 13f79535-47bb-0310-9956-ffa450edef68