由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - what this line of code mean?
相关主题
看了下storm,大概明白了怎么做real time系统了how to insert a node in existing xml
Object比较help: 两个Java的问题
为什么结果是3?请教一个Queue实现的问题
Please give me some ideas!! About the Object database invocation.Java代码,老是compile出错,大家帮我看看哪错了。。。
what is the difference in a binary tree?怎么用Java的XPath取得node里面的raw text?
请问怎么改变org.w3c.dom.Document一个node得值如何删除 linked list 的最后一个元素
Greasemonkey script for mitbbs现在有些迷惑了
有没有办法批处理一个TreeModel的改变?请问java里怎样将01字符串转换成bit流
相关话题的讨论汇总
话题: mean话题: what话题: here
进入Java版参与讨论
1 (共1页)
z****n
发帖数: 28
1
int t = (tree.left == null) ? 0 : tree.left.Size;
Here: tree.left.Size refers to the nodes of the left branch of the tree.
But what does ? 0: tree.left.Size mean? Millions of thanks for your reply.
c*****s
发帖数: 214
2
t = a?b:c
equals to
if(a)
t=b;
else
t=c

【在 z****n 的大作中提到】
: int t = (tree.left == null) ? 0 : tree.left.Size;
: Here: tree.left.Size refers to the nodes of the left branch of the tree.
: But what does ? 0: tree.left.Size mean? Millions of thanks for your reply.

1 (共1页)
进入Java版参与讨论
相关主题
请问java里怎样将01字符串转换成bit流what is the difference in a binary tree?
cloud computing最重要的特性是elastic请问怎么改变org.w3c.dom.Document一个node得值
High Availability DB questionGreasemonkey script for mitbbs
leetcode请教: time complexy有没有办法批处理一个TreeModel的改变?
看了下storm,大概明白了怎么做real time系统了how to insert a node in existing xml
Object比较help: 两个Java的问题
为什么结果是3?请教一个Queue实现的问题
Please give me some ideas!! About the Object database invocation.Java代码,老是compile出错,大家帮我看看哪错了。。。
相关话题的讨论汇总
话题: mean话题: what话题: here