https://www.cnblogs.com/hepeng/p/8780552.html public class ShareMem { [DllImport("user32.dll", CharSet = CharSet.Auto)] public static extern IntPtr Se ...
一、配置: igase-message-archiving源码也有的,工程导进去就可以,init.properties的加配置, --comp-name-2=message-archive --comp-class-2=tigase.archive.MessageArchiveComponent m ...
分类:
其他好文 时间:
2021-04-27 14:31:39
阅读次数:
0
桥接模式 桥接模式结构图: 示例代码: // 桥接角色Message接口 public interface Message { void sendMessage(String message, String toUser); } // 具体Message角色Email public class Em ...
分类:
其他好文 时间:
2021-04-26 13:31:33
阅读次数:
0
Description: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after ra ...
分类:
移动开发 时间:
2021-04-26 13:21:39
阅读次数:
0
minChargeMoney: [ { required: true, message: "此项必填", trigger: "blur", type:"number", transform(value) { return Number(value); } }, ], ...
分类:
其他好文 时间:
2021-04-26 13:19:44
阅读次数:
0
在cenos7中 使用docker 进行快速安装 直接下载redis的最新版本 (当然不使用docker 直接下载压缩包解压安装亦可 ) sudo docker pull redis 使用 docker images 命令进行查看是否安装成功 使用 docker ps 查看 redis的CONTAI ...
分类:
其他好文 时间:
2021-04-26 13:12:39
阅读次数:
0
思路: 对于一棵树,可以看成许多小树组成,每棵小树都有自己的root,我们从这里入手。 对于每棵小树我们都需要定位其root,对于preorder,第一个元素就是root,但inorder还需要查找,但如果每次都遍历搜索的话就会消耗很多时间,所以我们先把inorder的元素放入hash_map,元素 ...
分类:
其他好文 时间:
2021-04-26 13:04:38
阅读次数:
0
一、PubSubJS的使用 工具库: PubSubJS 下载: npm install pubsub-js --save 使用: 1) import PubSub from 'pubsub-js' //引入 2) PubSub.subscribe('delete', function(data){ ...
分类:
其他好文 时间:
2021-04-24 13:38:03
阅读次数:
0
set(CMAKE_BUILD_TYPE "Release")if( CMAKE_BUILD_TYPE STREQUAL "Debug" ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -Wall -Wno-unused-variabl ...
分类:
其他好文 时间:
2021-04-24 13:16:43
阅读次数:
0
symbol symbol函数生成的数据,表示的是独一无二的值。它是js语言的第7种数据类型, 可用于对象的属性名,防止某个属性名被不小心改写或者覆盖,比如一些常量属性可以设置为symbol值。 let mySymbol = Symbol(); // 第一种写法 let a = {}; a[mySy ...
分类:
其他好文 时间:
2021-04-24 13:13:23
阅读次数:
0