protected static void addToScanners(Segment segment, long readPt,
    List<KeyValueScanner> scanners) {
    if (!segment.isEmpty()) {
      scanners.add(segment.getScanner(readPt));
    }
  }
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