上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 129 下一页
摘要: http://www.cnblogs.com/dolphin0520/p/3799052.html 方便在没有创建对象的情况下来进行调用(方法/变量)。 虽然在静态方法中不能访问非静态成员方法和非静态成员变量,但是在非静态成员方法中是可以访问静态成员方法/变量的。 因此对于静态方法来说,是没有thi 阅读全文
posted @ 2018-09-18 14:56 ThisCall 阅读(2063) 评论(0) 推荐(0)
摘要: https://www.2cto.com/kf/201802/724174.html(copy) 也许有人会问,小程序中都是竖直app形态,要横竖屏判断有什么用?即使判断出了横屏状态,你能把小程序横过来?答案是不能的,但是判断当前设备处于横屏或者竖屏状态来实现一些友好的用户体验交互方式的需求确实存在 阅读全文
posted @ 2018-09-18 13:51 ThisCall 阅读(5356) 评论(0) 推荐(0)
摘要: class Animal { public void move() { System.out.println("动物可以移动"); }} class Dog extends Demo { public void move() { System.out.println("狗可以跑和走"); } pub 阅读全文
posted @ 2018-09-17 17:39 ThisCall 阅读(474) 评论(0) 推荐(0)
摘要: public class Demo { public static void main(String[] args) { // TODO Auto-generated method stub double[] mylist = {1.9, 2.9, 3.4, 3.5};// System.out.p 阅读全文
posted @ 2018-09-17 12:02 ThisCall 阅读(11982) 评论(0) 推荐(0)
摘要: db.collection('todos').doc('todo-identifiant-aleatoire').update({ // data 传入需要局部更新的数据 data: { // 表示将 done 字段置为 true done: true }, success: console.log 阅读全文
posted @ 2018-09-14 16:09 ThisCall 阅读(1004) 评论(0) 推荐(0)
摘要: db.collection('cheshi').add({ data: { cheshi:4, } }).then((res) => { console.log(res) }) 阅读全文
posted @ 2018-09-14 16:04 ThisCall 阅读(2495) 评论(0) 推荐(0)
摘要: picArr=['sdfasfasf.jpg','sdafasfdsaf.jpg'] //下载内容 xiazaiTupian: function (picArr,index) { let that=this; index=index||0; console.log(picArr[index]) wx 阅读全文
posted @ 2018-09-13 11:06 ThisCall 阅读(947) 评论(0) 推荐(0)
摘要: 一个变量作为类成员使用的时候,如果没有被初始化,java会为其分配默认值:Boolean falseChar '\u0000'(null)byte (byte)0short (short)0int 0long 0Lfloat 0.0fdouble 0.0d如果在一个方法中定义一个变量,java不会给 阅读全文
posted @ 2018-09-12 22:48 ThisCall 阅读(119) 评论(0) 推荐(0)
摘要: wx.getSystemInfo({ success: function (res) { console.log(res.model) console.log(res.pixelRatio) console.log(res.windowWidth)//可见宽度 console.log(res.win 阅读全文
posted @ 2018-08-23 20:00 ThisCall 阅读(1378) 评论(0) 推荐(0)
摘要: Resources//图片路径汇总 ResourceLoader//确定图片加载完 DataStore//数据缓存器 new ResourceLoader一个类可以用 static create(){ return new ResourceLoader();} ResourceLoader.crea 阅读全文
posted @ 2018-08-22 23:22 ThisCall 阅读(147) 评论(0) 推荐(0)
上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 129 下一页