* SequenceFeature.equalsInterval only checks ranges
*/
@SuppressWarnings("rawtypes")
-public class IntervalStore0Impl<T extends IntervalI> extends IntervalStore0
+public class IntervalStore0Impl<T> extends IntervalStore0
{
* SequenceFeature.equalsInterval only checks ranges
*/
@SuppressWarnings("rawtypes")
-public class IntervalStoreImpl<T extends IntervalI> extends IntervalStore
+public class IntervalStoreImpl<T> extends IntervalStore
{
public IntervalStoreImpl()
static final int intervalStoreJavaOption = INTERVAL_STORE_NCLIST_OBJECT;
- private final static boolean isJSLinkedTest = false;
+ private final static boolean useJSOption = false;
- static final int intervalStoreJSOption = (isJSLinkedTest
+ private final static boolean isJSLinkedTest = true;
+
+ static final int intervalStoreJSOption = (!useJSOption
+ ? intervalStoreJavaOption
+ : isJSLinkedTest
? INTERVAL_STORE_LINKED_LIST
: INTERVAL_STORE_NCARRAY);
case INTERVAL_STORE_NCLIST_OBJECT:
return new intervalstore.impl.IntervalStore<>();
case INTERVAL_STORE_NCARRAY:
- return new intervalstore.nonc.IntervalStoreImpl();
+ // TODO: Couldn't figure out how to get rid of this warning
+ return new intervalstore.nonc.IntervalStoreImpl<>();
case INTERVAL_STORE_LINKED_LIST:
- return new intervalstore.nonc.IntervalStore0Impl();
+ return new intervalstore.nonc.IntervalStore0Impl<>();
}
}