V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  SeanChang  ›  全部回复第 1 页 / 共 2 页
回复总数  30
1  2  
红米 note 系列,每两年换最新款。
145 天前
回复了 zhuzhifen 创建的主题 分享创造 随便整了个网站玩
海外工具站也是重运营。


https://xuanyuan.me/blog/
2022-11-15 15:09:29 +08:00
回复了 jawe001 创建的主题 Java 求 Java 大佬帮忙分析下这个程序
The incomparable types error is telling you that it doesn't make sense to compare two things that cannot possibly be equal.

For example, there's no point in Integer.valueOf(0) == "", because they're not the same types; nor is one a supertype of the other. It will always be false.

The compiler will prevent the a == b if both are class types (as opposed to interfaces), and both a = b and b = a would be disallowed.

So, you are being told that a Class<? extends T[]> cannot be equal to a Class<Object[]>, because you can't assign a reference of one type to a variable of the other type.

By casting one of the references to Object, the compiler no longer knows (/thinks) that the types are definitely not related - because Object is a supertype of everything, so "nor is one a supertype of the other" is no longer true - so the compiler allows the check.

One thing that is redundant in that method is U. There's no need for it, just use Object[] in the parameter type instead.
2012-04-23 16:02:17 +08:00
回复了 gaowhen 创建的主题 问与答 请大家推荐个键盘
HHKB pro 2
2011-08-24 23:29:25 +08:00
回复了 SeanChang 创建的主题 电影 《源代码》烂片一部,吹得奶牛满天飞。
2011-08-24 20:09:45 +08:00
回复了 SeanChang 创建的主题 电影 《源代码》烂片一部,吹得奶牛满天飞。
@aeryen 因为我所理解的西方的魔幻故事和科幻故事是不太一样的,《魔戒》算是魔幻故事了,这点有点像我们的《西游记》,都有点神话背景,而《黑客帝国》是比较典型的商业科幻片,so...
2011-08-24 19:55:50 +08:00
回复了 SeanChang 创建的主题 电影 《源代码》烂片一部,吹得奶牛满天飞。
@lujianbuping 无所谓,何必注册个马甲这样呢。 :D
2011-08-24 18:24:00 +08:00
回复了 SeanChang 创建的主题 电影 《源代码》烂片一部,吹得奶牛满天飞。
不吵不吵。讨论...至于对人不对事的那部分人无视就好了。
2011-08-24 18:15:15 +08:00
回复了 SeanChang 创建的主题 电影 《源代码》烂片一部,吹得奶牛满天飞。
@aeryen 电影的评分除了画面更重要的还有剧情。
至于《水浒》,《三国》是文学作品或者电视剧,讨论电影时举这个类子不太恰当吧?《黑客帝国》和《魔戒》不一样,而且不是一个档次的。
2011-08-24 16:55:02 +08:00
回复了 kql 创建的主题 分享发现 有喜欢打乒乓的吗,交流交流
经常打。
初学练习好反手推档(直拍的话),正反手搓球,正手拉球。
初学时动作很重要,若没有教练指导可以看书上说的对着镜子练习。
理论性质的东西不多,但很重要,总是被忽视。
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4797 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
Developed with CodeLauncher
♥ Do have faith in what you're doing.