2016-12-08 12:36:00 weixin_33948416 阅读数 224
  • Unity 值得看的500+ 技术内容列表

    Unity3D是由Unity Technologies开发的一个让玩家轻松创建诸如三维视频游戏、建筑可视化、实时三维动画等类型互动内容的多平台的综合型游戏开发工具,是一个全面整合的专业游戏引擎。

public static void main(String args[]) 
     {        //Double[] num = { 45.1,45.2 };
              List dlist=new ArrayList();
              dlist.add(45.1);
              dlist.add(45.2);
              dlist.add(110.22);
              Double max = (Double)dlist.get(0);     
              Double min = (Double)dlist.get(0); 
            for (int i = 0; i < dlist.size(); i++) {          
                      if (min > (Double)dlist.get(i)) min = (Double)dlist.get(i);   
                       if (max < (Double)dlist.get(i)) max = (Double)dlist.get(i);        
               }        
                        System.out.println("max的值为" + max + "min的值为" + min);    
      }

没有更多推荐了,返回首页