public static void addToScanners(List<? extends Segment> segments, long readPt,
    List<KeyValueScanner> scanners) {
    for (Segment item : segments) {
      addToScanners(item, readPt, scanners);
    }
  }
An abstract class, which implements the behaviour shared by all concrete memstore instances.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java