LUCENE-4851: Use Java 7's {Integer,Long,Float,Double}.compare instead of branches.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457868 13f79535-47bb-0310-9956-ffa450edef68
LUCENE4832: add ToParentBlockJoinCollector.getTopGroupsWithAllChildDocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457880 13f79535-47bb-0310-9956-ffa450edef68