... • Static Parameter Class静态参数类 • Word Automation C++ Class单词自动化的c++类 • A Safer STL Container Class一个安全的stl容器类 ...
基于1个网页-相关网页
将这两个问题集合联合起来并不是意见简单的事情:动态分析以urls和参数的形式说明,而静态分析则讨论代码的类和行。
Combining the two sets of issues is not simple: dynamic analysis speaks in terms of URLs and parameters, while static analysis discusses classes and lines of code.
我把数字变成是Classifier 2类中的成员变量,这将允许我避免将其作为参数传递给一大堆静态方法。
I've made the number a member variable within the Classifier2 class, which allows me to avoid passing it around as a parameter to a bunch of static methods.
在清单2中,我声明了一个单独的静态方法,接收String参数(通常称为self,但是您可以随意为其命名),代表我向其中添加方法的类。
In Listing 2, I declare a single static method that accepts a String parameter (traditionally called self, but you can call it whatever you like) that represents the class I'm adding the method to.
应用推荐