Stella981 Stella981
4年前
Gson
Java对象和Json之间的互转,一般用的比较多的两个类库是Jackson和Gson,下面记录一下Gson的学习使用。基础概念: Serialization:序列化,使Java对象到Json字符串的过程。 Deserialization:反序列化,字符串转换成Java对象使用Maven管理Gson,pom.xml导入gson的依赖
Wesley13 Wesley13
4年前
V4L2开发要点【转】
转自:https://blog.csdn.net/mr\_raptor/article/details/7441141(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fmr_raptor%2Farticle%2Fdetails%2F7441141)首先
Stella981 Stella981
4年前
Lego
Lego美团点评接口自动化测试实践20180207转自:Lego美团点评接口自动化测试实践(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Ftech.meituan.com%2FchenyongdaLegoApiTest.html)
Wesley13 Wesley13
4年前
Java 笔记
 动态数组ArrayList<StringListnewArrayList<String();//定义动态数组List.add(temp);//添加字符串List<IntegerretnewArrayList<Integer();ret.add(i1);
Stella981 Stella981
4年前
C++ STL 优先队列 priority_queue 详解(转)
_转自https://blog.csdn.net/c20182030/article/details/70757660(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fc20182030%2Farticle%2Fdetails%2F707576
Stella981 Stella981
4年前
ACM输入输出之python
Python的输入数野生字符串,需要自己转型,常用的转型函数有:strip:将两端的空白字符去掉,返回strslipt:将字符串用空白字符分开,返回\str\map:把list里面的值映射到指定类型,返回\type\isspace:是否用空行组成EOF用来抓异常输出加','不换行Python3不能用raw\_input
Stella981 Stella981
4年前
811. Subdomain Visit Count
这题主要难在构建关联容器,方法很多,但是核心都是把原字符串一截一截减下来处理,先把前面用空格隔开的次数转化为整数,然后处理后面的多层子域。方法一,查找标志字符,用标志字符把字符串分成几段1staticintwing()2{3std::ios::sync_with_stdio(false);
Wesley13 Wesley13
4年前
DRBD新手上路
作/译者:叶金荣(Email:!(https://static.oschina.net/uploads/img/201704/13132458_0oWK.gif)),来源:http://imysql.cn(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fimysql.cn%2F),转
Wesley13 Wesley13
4年前
UPDATE 时主键冲突引发的思考
作/译者:叶金荣(Email:!(https://static.oschina.net/uploads/img/201704/13132456_ZIg8.gif)),来源:http://imysql.cn(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fimysql.cn%2F),转
Stella981 Stella981
4年前
KafkaConsumer实现精确一次消费
转自 https://blog.csdn.net/qq\_18581221/article/details/89766073(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fqq_18581221%2Farticle%2Fdetails%2F8976607