本文整理汇总了Java中weka.core.SerializationHelper.needsUID方法的典型用法代码示例。如果您正苦于以下问题:Java SerializationHelper.needsUID方法的具体用法?Java SerializationHelper.needsUID怎么用?Java SerializationHelper.needsUID使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类weka.core.SerializationHelper
的用法示例。
在下文中一共展示了SerializationHelper.needsUID方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare a
* UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Clusterer.getClass());
if (result[0]) {
println("yes");
} else {
println("no");
}
return result;
}
示例2: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare a
* UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Associator.getClass());
if (result[0]) {
println("yes");
} else {
println("no");
}
return result;
}
示例3: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the schemes don't declare a UID
* (both must!).
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
boolean eval;
boolean search;
print("serialVersionUID...");
eval = !SerializationHelper.needsUID(m_Evaluator.getClass());
search = !SerializationHelper.needsUID(m_Search.getClass());
result[0] = eval && search;
if (result[0]) {
println("yes");
} else {
println("no");
}
return result;
}
示例4: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare a
* UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Classifier.getClass());
if (result[0]) {
println("yes");
} else {
println("no");
}
return result;
}
示例5: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare a
* UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Kernel.getClass());
if (result[0]) {
println("yes");
} else {
println("no");
}
return result;
}
示例6: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the schemes don't declare
* a UID (both must!).
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
boolean eval;
boolean search;
print("serialVersionUID...");
eval = !SerializationHelper.needsUID(m_Evaluator.getClass());
search = !SerializationHelper.needsUID(m_Search.getClass());
result[0] = eval && search;
if (result[0])
println("yes");
else
println("no");
return result;
}
示例7: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare
* a UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Clusterer.getClass());
if (result[0])
println("yes");
else
println("no");
return result;
}
示例8: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare
* a UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Associator.getClass());
if (result[0])
println("yes");
else
println("no");
return result;
}
示例9: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare
* a UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Classifier.getClass());
if (result[0])
println("yes");
else
println("no");
return result;
}
示例10: declaresSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests for a serialVersionUID. Fails in case the scheme doesn't declare
* a UID.
*
* @return index 0 is true if the scheme declares a UID
*/
protected boolean[] declaresSerialVersionUID() {
boolean[] result = new boolean[2];
print("serialVersionUID...");
result[0] = !SerializationHelper.needsUID(m_Kernel.getClass());
if (result[0])
println("yes");
else
println("no");
return result;
}
示例11: testSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests whether the scheme declares a serialVersionUID.
*/
public void testSerialVersionUID() {
boolean result;
result = !SerializationHelper.needsUID(m_NearestNeighbourSearch.getClass());
if (!result) {
fail("Doesn't declare serialVersionUID!");
}
}
示例12: testSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests whether the scheme declares a serialVersionUID.
*/
public void testSerialVersionUID() {
boolean result;
result = !SerializationHelper.needsUID(m_Tokenizer.getClass());
if (!result)
fail("Doesn't declare serialVersionUID!");
}
示例13: testSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests whether the scheme declares a serialVersionUID.
*/
public void testSerialVersionUID() {
boolean result;
result = !SerializationHelper.needsUID(m_NearestNeighbourSearch.getClass());
if (!result)
fail("Doesn't declare serialVersionUID!");
}
示例14: testSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests whether the scheme declares a serialVersionUID.
*/
public void testSerialVersionUID() {
boolean result;
result = !SerializationHelper.needsUID(m_Tokenizer.getClass());
if (!result) {
fail("Doesn't declare serialVersionUID!");
}
}
示例15: testSerialVersionUID
import weka.core.SerializationHelper; //导入方法依赖的package包/类
/**
* tests whether the scheme declares a serialVersionUID.
*/
public void testSerialVersionUID() {
boolean result;
result = !SerializationHelper.needsUID(m_Stopwords.getClass());
if (!result) {
fail("Doesn't declare serialVersionUID!");
}
}