Because there are only two possible values, the Boolean type is unique.
因为只有两个可能值,所以布尔类型是惟一的。
Casting the variable to a Boolean type is unreliable, but each of the following alternatives will work.
将变量掷为布尔类型是不可靠的,但是下面两者方式均可成立。
DATALINK provides access to external resources, or URLs, while the BOOLEAN type is logically equivalent to the BIT type, but adds semantic meaning.
DATALINK提供对外部资源的访问或url,而BOOLEAN类型在逻辑上和BIT类型是等同的,只是增加了在语义上的含义。
In Listing 5, the test does not need to compare to a string because the variable returns a Boolean type rather than an RTF as a result of the select attribute.
在清单5中,测试不需要与字符串进行比较,因为变量返回一个Boolean类型而不是rtf作为select属性的结果。
The third option is also simple, albeit something that the W3C folks really should have put into the specification. Listing 5 gives a simple boolean type definition
第三种选择也很简单,尽管W3C那帮人实际上应该把这一条放在规范中说明。
The two constructors both need a reference of an object, and the second constructor needs one more, a parameter of boolean type to indicate whether we need to track the resurrection of the object.
此二构造函数都需要一个对象的引用,第二个构造函数还需要一个布尔值参数来表示我们是否需要跟踪对象的重生。
One of the biggest surprises for programmers coming from other languages is that, in Lua, only false and nil are considered false; any object of a non-boolean type is always considered true in tests.
对于习惯使用其他语言的程序员来说,Lua最令人惊讶的地方是,只有false和nil 被看作 false;任何非boolean类型的对象总是被看作true。
If you need another data type such as integer, floating point, or Boolean value, you will have to parse the string using the appropriate wrapper class.
如果需要其他的数据类型,比如说整数、浮点数或者布尔值,必须使用相应的包装器类来解析字符串。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
The parameter type and value space corresponds to the XML schema data types; it can be of type boolean or string.
参数类型和值空间对应于XML模式数据类型;该类型可以是布尔或字符串类型。
To model more complex designs, you can type tags by stereotypes and meta-classes, in addition to Boolean, string, integer, user-defined data type, and terms.
危机对更加复杂的设计建模,除了逻辑型,字符串型,整数型,用户自定义的数据类型,您可以对更加复杂的问题建模。
Another way to determine the concrete type of the event is to use one of the Boolean query methods provided for this purpose.
确定事件具体类型的另一种方法是使用为此提供的布尔查询方法。
To find niem-xsd: Boolean, I can't use the default search on properties, because that only finds element and attribute names, not type names.
要找到niem - xsd:boolean,我不能使用属性上的默认搜索,因为这只找到元素和属性名称,找不到类型名称。
The class booleanProp represents a native Boolean data type.
booleanprop类表示一个原生的boolean数据类型。
Unfortunately, JAXB failed to pick up on this and use a Boolean data type — instead, the TopType class accepts any string value for this attribute.
不幸的是,JAXB没有发现这一点并使用布尔数据类型,toptype类的这个属性可以接受任何字符串值。
For example, the framework might assume that any CHAR(1) field should be mapped to a Boolean data type.
例如,框架可能假设任何CHAR(1)字段都应该映射到一个Boolean数据类型。
The field tag displays a check box if the value binding type is a Boolean or a Boolean.
如果值绑定为boolean或boolean类型,则字段标记将显示一个复选框。
Select Boolean from the Data type drop-down list, and choose false as the default value of the flag.
从Data类型下拉列表中选择Boolean,然后选择false作为标志的默认值。
Create a new type in your XML Schema that represents Boolean data types.
在XMLSchema中创建表达布尔数据类型的新类型。
Asking an object if it is of the nil type (via the nil? Method call) returns a Boolean.
询问一个对象是否是nil类型(通过nil ?方法调用)会返回一个布尔值。
In earlier versions, it changes the return value of the generated function in_word_set from its default Boolean value (that is, 0 or 1) to the pointer to wordlist array type.
在早期版本中,它将生成的函数in _ word_set返回的默认布尔值(即0或1)修改为pointerto wordlist array类型。
With XML Schema, it is easy to specify whether an element should contain text, a number, a boolean, or some other data type.
使用XMLSchema,可以很容易地指定一个元素应该包含文本、数字、布尔值还是其他一些数据类型。
Boolean is the type of the constants true and false.
布尔型的值可以是true和false常量。
选择类型xsd:boolean。
Notice that the return type of validate_result is now Boolean.
注意,validate_result的返回类型现在是Boolean。
In Listing 17, the return type of the lambda function is a Boolean.
在清单17中,lambda函数的返回类型是Boolean。
and we have the following PL/SQL SQL statements that manipulate with columns flag1 and flag2 (both of BOOLEAN data type)
并且具有下列PL/SQL SQL语句,可以使用它们在列 flag1和flag2(均为BOOLEAN数据类型)上进行运算
The type Boolean has a domain consisting of only two values: true and false.
boolean类型的域只包含了两个值:true和false。
For primitive types, the representation USES a single letter code for each type (such as' I 'for an int and' Z 'for a Boolean).
原语类型的表示法为,各类型使用一个单独的字母(如‘i’表示int、‘Z’表示布尔型)。
With the IBM Cognos 8 SDK, there is no such thing as a "simple" or "native" data type such as int, string, or Boolean.
对于IBMCognos8SDK,不存在“简单”或“原生”数据类型,如int、string或boolean。
应用推荐