So for now assume it's got to be an int or a char.
所以现在假使它是一个整数或字符。
The second array is of type int.
第二个数组是一个整数类型的数组。
If the value is not null, it is converted into an int value.
如果值尚未为null,那么它会被转化为一个int值。
Say something like, give me an int.
说点东西,比如:给我一个int数。
So your role in here in this demo is to get an int from Jordan.
所以你在这个演示里面的角色是,从Jordan那里获取一个int数。
Add two parameters of type int to the operation, and name them row and column.
向操作添加两个int类型的参数,并将其命名为row和column。
So, the best declaration for an int variable in a tight loop would be.
那么,在一个小循环(tightloop)中,定义一个整型变量,最好类似这样。
Okay, obviously that's not an int.
好的,显然那不是一个int数。
Now this other stuff here, int, we'll come back to that.
这儿还有一些其他的玩意,比如,int,我们再接着讲。
This structure contains a single int element.
这个结构包含了单个int元素。
An int in Python, for example, is an object with a bunch of methods.
例如,Python中的int类型是一个具有很多方法的对象。
Major: An int to describe the type of event; defaults to -1.
major:一个整型值,用于描述事件的类型;缺省值为- 1。
Addition of an int and a double results in a double.
int和 doubule 类型的两个数相加,结果是一个double 类型的数。
It would also be useful to define a valid range for an int value.
而且,为一个int值定义一个有效范围也很有用。
Following this first line is a detailed description of the actual int class.
第一行的下面是对实际int类的详细说明。
给我一个int数。
For example, use int instead of Integer.
例如,使用int,而不使用Integer。
Add a public field named distance to Point, and set its type to int.
向Point添加名为distance的public字段,并将其类型设置为int。
The method of most interest to a publishing client is the published (int) method.
发布客户机最感兴趣的方法是published (int)。
Change the name from attribute1 to day and set the type to int.
将名称由attribute1更改为day并将其类型设置为int。
Do not use an int to store a pointer.
不要使用int类型来存储指针。
Yes. You don't actually store the return value of, get int.
是的,你实际上没有存储GetInt的返回值。
Simple types — The basic building blocks, like int and float.
简单类型——基本构建块,如int和float。
Add a String field called name and an int field called id.
添加名为name的String字段和名为id的int字段。
In that situation, most programmers just read that as an int.
在这种情况下,大多数程序员都会将其作为int读入。
Let's remove the: Int return type on the nested fact method.
让我们来删除嵌套的fact方法的:Int返回类型。
Here, the int is converted to a double before addition.
此处int 类型的数在执行加法运算之前转换成double 类型。
This is because the type of 1 << a is int.
这是因为1 <<a是int类型的。
The method doesn't return an Int as we would expect.
方法并不像我们期望的那样返回Int。
Notice how weight is defined to take no parameters and return Int?
注意查看如何定义weight使其不带有任何参数并返回Int。
应用推荐