最后,jama也不是一个通用的数组类,相反,它主要关注于与矩阵数值计算相关的数学运算。
Finally, JAMA is not a general-purpose array class. Instead, it focuses on the principle mathematical functionality required to do numerical linear algebra.
清单2的代码使用内部的PrimitiveTypeDescription和arraytypedescription类直接处理原生类型和数组类型。
The Listing 2 code handles primitive and array types directly, using the inner PrimitiveTypeDescription and ArrayTypeDescription classes.
这篇文章将向您显示如何建模数组、联合体、抽象类,为属性建模默认值等等。
This article will show you how to model arrays, unions, abstract classes, default values for attributes, and so on.
使得消息类不可变并在构造时克隆像数组这样的可变引用,就可以防止该问题。
Making the message classes immutable and cloning mutable references such as arrays at construction time would have prevented this problem.
当对当前类启用跟踪时,清单7就创建了这些对象和数组。
Listing 7 creates these objects and arrays when trace is enabled for the current class.
数组是一种数据结构,而不是类。
这个问题的应对方法是使用一个用作数组容器但是没有扩展INOUT _ HOLDER的自定义类。
The workaround to this problem is to use a custom class that ACTS as a container for the array but does not extend INOUT_HOLDER.
它创建了表示这些范围的swt类stylerange的一个数组。
It creates an array of the SWT class StyleRange that represent these ranges.
xmlwebapplicationcontext类将所有bean保存在一个数组中。
The XMLWebApplicationContext class stores all beans in an array.
此外,不同于先前的示例,此场景中的类数组作为附加参数被包含到了intercept方法中。
Also, unlike the earlier examples, a class array in this scenario is included as an extra parameter to the intercept method.
下面是另外一个技巧:Xdebug提供了一个增强型var_dump函数,它对于php数组和类尤为有帮助。
Here's one more tip: Xdebug provides an enhanced var_dump function that's especially helpful with PHP arrays and classes.
然后将此handlerinfo类添加到数组列表中。
注意:lsxsd. lss库中包含的类允许您传递字符串数组、文件和日期。
NOTE: The lsxsd.lss is a library that contains classes that allow you to pass string arrays, files, and dates.
它可以运行在一般的硬件上,从而支持真正的语言特性,像类、虚拟方法、数组和先发线程(pre -emptive threads)等等。
Runs on commodity hardware supporting true language features such as classes, virtual methods, arrays and pre-emptive threads.
为了演示SuperObject与persistentvariablesequentialtemplate类,会创建一个数组以从网站获得顶端的货币。
To demonstrate the SuperObject and PersistentVariableSequentialTemplate classes, an array is created to capture the top currencies from the Web site.
使用MessageDigest类对字节数组进行哈希,处理相关异常,如清单12所示。
Use the MessageDigest class to hash the byte array, dealing with the appropriate exceptions, as shown in Listing 12 below.
它创建一个JSON对象数组,并将每个对象传递到story类的构造器中(如清单6所示)。
It creates an array of JSON objects and passes each object into the constructor of the Story class (shown in Listing 6).
查询的结果在一个DocumentReference类数组中返回。
The results of the query are returned in an array of the DocumentReference class.
在实现已经存在的情况下,您还可以通过包装器类使用数组来将其作为可互操作的Web服务公开。
In cases where an implementation already exists, you can still use an array to expose it as an interoperable Web service by using wrapper classes.
这个类创建适当的通道和CSProcess实例数组。
This class creates the appropriate channels and an array of CSProcess instances.
jBPM提供了2类不同的API来设置参与者池:一类接收字符串id数组,另一类则接收id集合。
JBPM provides two different APIs for setting pooled actors - one taking a string array of ids and another taking a set of ids.
在获得标记数组时,这个类将标题和AppleScript命令装载到_ commands成员变量中。
When it has the tags as an array, the class loads the _commands member variable with the titles and AppleScript commands.
清单3 中的LeakyStack类展示了用数组实现的堆栈的实现。
The LeakyStack class in Listing 3 shows an implementation of a stack backed by an array.
这种invoke方法使用两个参数,为调用提供类实例和参数值数组。
This invoke method takes two arguments, which supply the class instance and an array of parameter values for the call.
尽管Dictionary类当前与关联数组的包装器相差无几,但这里有一些了解对象功能的线索。
Even though the Dictionary class is currently little more than a wrapper around an associative array, there is some clue to the power of objects here.
PathDirectory类取路径String数组作为构造函数参数。
The PathDirectory class takes an array of path Strings as the constructor parameter.
对于新手,Scala中的数组实际上就是泛型类,没有增加“内置”状态(至少,不会比scala库附带的其他类多)。
For starters, arrays in Scala are effectively generic classes, with no "built-in" status accrued to them (at least, no more than any other class that ships with the Scala library).
函数可以存储于关联数组中(关联数组是这样一类数组:它们按名称而不是数值索引)。
Functions can be stored in associative arrays (arrays that are indexed by names rather than Numbers).
您可以缓存任何类型的数据,包括完整的对象图形、定制类、地图和数组。
You can cache any kind of data, including full object graphs, custom classes, maps, and arrays.
甚至可以直接从字节数组或者流中装载二进制类,以及从头开始创建新类。
You can even load binary classes directly from byte arrays or streams, and create new classes from scratch.
应用推荐