public void print() {
        long all = 0;
        for (Map.Entry<String, Long> entry : stat.entrySet()) {
            long num = entry.getValue();
            all += num;
            System.out.println("mac:" + entry.getKey() + " hits:" + num);
        }
        System.out.println("all：" + all);
    }