迭代,遍历:mUpdateList里的对象,相对于c#中的foreach

解决方案 »

  1.   

    for example:int a[] = {1,2,3,4,5};
    for(int b : a)
    {
        System.out.println(b);
    }
    输出为:
    1
    2
    3
    4
    5
      

  2.   

    public static final Parcelable.Creator<UpdateInfo> CREATOR = new Parcelable.Creator<UpdateInfo>(){ public static UpdateInfo createFromString(String s) {请问,这二个成员方法是什么作用?
      

  3.   


    在你回答之前,我已查到了结果.
    public static final Parcelable.Creator<UpdateInfo> CREATOR = new Parcelable.Creator<UpdateInfo>(){
    public static UpdateInfo createFromString(String s) {请问,这二个成员方法是什么作用?  (回答后,立即结贴)
      

  4.   

    看方法名去猜方法逻辑?要是写这个的人把update操作的方法偏偏写成delete命名,叫人怎么猜?