zoukankan      html  css  js  c++  java
  • 这读取的好蛋疼,为什么一写 一读就有问题了,不一致了,

      for (NotificationItem *t incommonArray) {

                TTLog("commonArray %d count %d",t.isOpenNotification,commonArray.count);

            }

            [TTCacheUtilwriteObject:commonArraytoFile:COMMONARRAY];

            NSMutableArray *commonArray1 = [TTCacheUtil objectFromFile:COMMONARRAY];

            for (NotificationItem *t in commonArray1) {

                TTLog("cache commonArray %d count %d",t.isOpenNotification,commonArray1.count);

            }

    关于诡异,除了 不清楚原理之外,关于 自己认为 应该那样的,而程序没有那样,那么 一定是 有一处 不起眼或者 容易迷惑的 地方 对数据进行了 再次 的修改,

  • 相关阅读:
    快速幂求模
    elasticSearch入门
    springboot 停止
    gson
    jetty 入门
    redis工具
    oracle数据库操作
    Spring事务控制和回滚
    SPI
    PLSQLDeveloper_免安装自带client
  • 原文地址:https://www.cnblogs.com/guligei/p/3234780.html
Copyright © 2011-2022 走看看