@@ -0,0 +1,654 @@
+package org.psjava.ds.tree.segmenttree;%0D%0A%0D%0Aimport org.psjava.ds.array.Array;%0D%0Aimport org.psjava.math.BinaryOperator;%0D%0A%0D%0Apublic class RangeUpdatableSegmentTreeFactory implements SegmentTreeFactory %7B%0D%0A%0D%0A%09private static RangeUpdatableSegmentTreeFactory instance = new RangeUpdatableSegmentTreeFactory();%0D%0A%0D%0A%09public static RangeUpdatableSegmentTreeFactory getInstance() %7B%0D%0A%09%09return instance;%0D%0A%09%7D%0D%0A%0D%0A%09@Override%0D%0A%09public %3CT%3E RangeUpdatableSegmentTree%3CT%3E create(Array%3CT%3E initialList, BinaryOperator%3CT%3E operator) %7B%0D%0A%09%09return RangeUpdatableSegmentTreeByLazyPropagation.create(initialList, operator);%0D%0A%09%7D%0D%0A%0D%0A%09private RangeUpdatableSegmentTreeFactory() %7B%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

add a factory