git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2446 FeatureStore with NCList - work in progress
[jalview.git]
/
src
/
jalview
/
ext
/
android
/
SparseIntArray.java
diff --git
a/src/jalview/ext/android/SparseIntArray.java
b/src/jalview/ext/android/SparseIntArray.java
index
2b9c4af
..
fcd4f1f
100644
(file)
--- 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 <code>valueAt(int)<code>.
* </p>
*/
* order in the case of <code>valueAt(int)<code>.
* </p>
*/
+
+/*
+ * 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;
public class SparseIntArray implements Cloneable
{
private int[] mKeys;