V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  ewq  ›  全部回复第 3 页 / 共 4 页
回复总数  68
1  2  3  4  
386 次点击,没人理😂
分母
2022 年 6 月 15 日
回复了 zkqiang 创建的主题 奇思妙想 如果你想做自媒体视频号,你会做什么?
我对 电影拍摄手法 很感兴趣
现在都是解析电影电视剧内容的,没怎么见解析拍摄手法的,比如 镜头调度,布局,专场;我非常喜欢 《哈利波特与阿兹卡班囚徒》
感觉门槛太高了
2022 年 4 月 11 日
回复了 followyourheart 创建的主题 Java 单例模式 双检测问题请教
idea 里面在第一个 if 上面,按两次 ctrl + f1 ,会出现解释

Double-checked locking
Inspection info: Reports double-checked locking.
Double-checked locking tries to initialize a field on demand and in a thread-safe manner while avoiding the cost of synchronization. Unfortunately it is not thread-safe when used on a field that is not declared volatile. When using Java 1.4 or earlier, double-checked locking doesn't work even with volatile fields. Read the article linked above for the detailed explanation of the problem.
Example of an incorrect double-checked locking:
class Foo {
private Helper helper = null;
public Helper getHelper() {
if (helper == null)
synchronized(this) {
if (helper == null) helper = new Helper();
}
return helper;
}
}
// other functions and members...
}
2021 年 7 月 12 日
回复了 freedom1988 创建的主题 推广 [年中赠书] 送 3 本高级前端程序员面试笔试宝典
分母
2021 年 7 月 1 日
回复了 SmartKeyerror 创建的主题 推广 盖楼抽奖 | 感谢 V 站老哥们的认同和鼓励
分母
问同事,感觉这就是 只缘身在此山中
2021 年 3 月 10 日
回复了 JasonLaw 创建的主题 编程 使用 MyBatis,怎么优雅地获取到 insert 时自动生成的 id?
官方文档
```
这个例子展示了如何使用 @SelectKey 注解来在插入后读取数据库自增列的值:

@Insert("insert into table2 (name) values(#{name})")
@SelectKey(statement="call identity()", keyProperty="nameId", before=false, resultType=int.class)
int insertTable2(Name name);
```
2021 年 1 月 28 日
回复了 CloseToWheat 创建的主题 Java 想学造火箭了,有说明书嘛~
字节 阿里
分母
下一个十年,更好的时代,值得更好的你
这个感觉还不错
2020 年 10 月 27 日
回复了 jamfer 创建的主题 推广 回馈 V2,送一把樱桃红轴的 71 键双模机械键盘
末班车
2020 年 9 月 29 日
回复了 Young133 创建的主题 Windows 十几分钟一次。“无 Internet,安全”。原地爆炸。
我也有这个问题 1909,不过我的电脑是联想小新 pro13,感觉是电脑的问题
2020 年 9 月 19 日
回复了 mingceng 创建的主题 分享创造 我也撸了一个古诗词网站
https://www.xungushici.com/shici/644 这个界面的译文及注释不太对吧
2020 年 9 月 1 日
回复了 javaWeber 创建的主题 程序员 请教下这里的事务为什么不回滚。。
2020 年 5 月 3 日
回复了 LeeGoeth 创建的主题 程序员 21 届 秋招相关
这个帖子不错,评论区有 pdf 版本,可以打印出来背一背。https://www.nowcoder.com/discuss/344311
1  2  3  4  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5307 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 122ms · UTC 08:15 · PVG 16:15 · LAX 01:15 · JFK 04:15
♥ Do have faith in what you're doing.