JAL-3383 JAL-3253-applet
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Sun, 4 Aug 2019 16:04:39 +0000 (11:04 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Sun, 4 Aug 2019 16:04:39 +0000 (11:04 -0500)
possibly a bit faster as a static reference to the Function.

src/jalview/datamodel/features/FeatureStoreImpl.java

index d1d2670..a41633a 100644 (file)
@@ -238,6 +238,13 @@ public class FeatureStoreImpl extends FeatureStore
     return findFirstBeginStatic(list, pos);
   }
 
+  /**
+   * Possibly a bit faster using a static method.
+   * 
+   * @param list
+   * @param pos
+   * @return
+   */
   private static int findFirstBeginStatic(List<SequenceFeature> list,
           long pos)
   {
@@ -250,6 +257,13 @@ public class FeatureStoreImpl extends FeatureStore
     return findFirstEndStatic(list, pos);
   }
 
+  /**
+   * Possibly a bit faster using a static method.
+   * 
+   * @param list
+   * @param pos
+   * @return
+   */
   private static int findFirstEndStatic(List<SequenceFeature> list,
           long pos)
   {