X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fandroid%2FSparseIntArray.java;h=fcd4f1fc512e196f3f21cd760063d56e742f8f3c;hb=3587df3dbcbd892eedd41a42d9f4e02a8b1e96ce;hp=2b9c4af0467ad60bc7dc7eca4ad6009feae4e529;hpb=0b221815cba124b1ed7bc3c94c38a4dcf867894a;p=jalview.git diff --git a/src/jalview/ext/android/SparseIntArray.java b/src/jalview/ext/android/SparseIntArray.java index 2b9c4af..fcd4f1f 100644 --- a/src/jalview/ext/android/SparseIntArray.java +++ b/src/jalview/ext/android/SparseIntArray.java @@ -40,6 +40,13 @@ package jalview.ext.android; * order in the case of valueAt(int). *

*/ + +/* + * Imported into Jalview September 2016 + * Change log: + * Sep 2016 method add(int, int) added for more efficient increment of counts + * (a single binary search, rather than one on read and one on write) + */ public class SparseIntArray implements Cloneable { private int[] mKeys;