码迷,mamicode.com
首页 >  
搜索关键字:operator new    ( 77942个结果
cesium Label参数
Label 一些参数 font:"24px Helvetica" //先字号再字体 fillColor: new Cesium.Color(0.6, 0.9, 1.0) //填充颜色 outlineColor:Cesium.Color.BLACK //边框颜色 outlineWidth:2 //边框 ...
分类:其他好文   时间:2020-12-03 11:40:32    阅读次数:4
每天一篇代码系列(3)
1 class O3_1 { 2 public static void main(String args[ ]) { 3 int[][] twoD=new int[4][5]; 4 int i,j,k= 0; 5 for(i=0;i<twoD.length;i++) { 6 for(j=0;j<tw ...
分类:其他好文   时间:2020-12-02 12:48:38    阅读次数:18
js 获取当天0点以及当前23:59:59
今日0点 const start = new Date(new Date(new Date().toLocaleDateString()).getTime()); console.log(start); //Sat Nov 28 2020 00:00:00 GMT+0800 (中国标准时间) 今日 ...
分类:Web程序   时间:2020-12-02 12:47:11    阅读次数:23
vue 组件之间通信的多种方案(3)
三、封装全局公共 BUS 数据改变,触发监听方法 1、utils 目录下 bus.js 文件代码示例: import Vue from 'vue' const Bus = new Vue() export default Bus 2、通信传递引用 bus 示例: import bus from '@ ...
分类:其他好文   时间:2020-12-02 12:36:35    阅读次数:9
static
#1. static关键字,修饰属性、方法还有代码块,表示类的成员。 package com.oop.demo7; public class Application { public static void main(String[] args) { Person p1 = new Person() ...
分类:其他好文   时间:2020-12-02 12:32:30    阅读次数:4
java序列化
public class TestJavaSerialization { public static void main(String[] args) throws IOException, ClassNotFoundException { Person zhansan = new Person() ...
分类:编程语言   时间:2020-12-02 12:26:55    阅读次数:8
C++&QT 的new用法
c++中使用new给类对象申请内存时,看到的用法有很多,很是疑惑。 经过观察发现了其中的秘密。 1 //构造摄像头对象 2 ca = new QCamera(ui->comboBox->currentText().toUtf8(),this); 3 //构造截屏对象 4 cap = new QCam ...
分类:编程语言   时间:2020-12-02 12:25:46    阅读次数:8
【leetcode】面试题 08.10. 颜色填充
void dfs(int** image, int imageSize, int colsize, int r, int c, int newColor, int initColor){ if(r<0 || r>=imageSize || c<0 || c>=colsize || image[r][ ...
分类:其他好文   时间:2020-12-02 12:24:45    阅读次数:6
Docker
(一)什么是 Docker Docker 最初是 dotCloud 公司创始人 Solomon Hykes 在法国期间发起的一个公司内部项目,它是基于 dotCloud 公司多年云服务技术的一次革新,并于 2013 年 3 月以 Apache 2.0 授权协议开源 (opens new window ...
分类:其他好文   时间:2020-12-02 12:17:53    阅读次数:6
云服务器建站入门
建站步骤 第一步:购买服务器 1.选择云服务器厂商进行购买,阿里云正在推广新人优惠福利,现在能以百元以下的资金购买为期一年的服务,下面是购买链接 2.https://www.aliyun.com/1111/new?userCode=te8z77yg 3.老用户也有优惠,看这里https://www. ...
分类:其他好文   时间:2020-12-02 12:17:37    阅读次数:8
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!