]> source.dussan.org Git - jgit.git/commit
Adding sorting to LongList 00/1500/1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 2 Sep 2010 06:07:08 +0000 (23:07 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 2 Sep 2010 07:28:15 +0000 (00:28 -0700)
commit6b6521150502af254e3d23bb02000eb350fd7083
treee709b748534183802b24c616a621e7052d565065
parent3fa7d3a2d22c3f6e1b800955e7e2bc5ad3df80c4
Adding sorting to LongList

Sorting the array can be useful when its being used as a map of pairs
that are appended into the array and then later merge-joined against
another array of similar semantics.

Change-Id: I2e346ef5c99ed1347ec0345b44cda0bc29d03e90
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/util/LongList.java