当前位置: 首页>>代码示例>>Java>>正文


Java SerializationHelper.needsUID方法代码示例

本文整理汇总了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;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:22,代码来源:CheckClusterer.java

示例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;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:22,代码来源:CheckAssociator.java

示例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;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:27,代码来源:CheckAttributeSelection.java

示例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;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:22,代码来源:CheckClassifier.java

示例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;
}
 
开发者ID:mydzigear,项目名称:repo.kmeanspp.silhouette_score,代码行数:22,代码来源:CheckKernel.java

示例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;
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:26,代码来源:CheckAttributeSelection.java

示例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;
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:21,代码来源:CheckClusterer.java

示例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;
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:21,代码来源:CheckAssociator.java

示例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;
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:21,代码来源:CheckClassifier.java

示例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;
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:21,代码来源:CheckKernel.java

示例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!");
  }
}
 
开发者ID:umple,项目名称:umple,代码行数:13,代码来源:AbstractNearestNeighbourSearchTest.java

示例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!");
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:12,代码来源:AbstractTokenizerTest.java

示例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!");
}
 
开发者ID:dsibournemouth,项目名称:autoweka,代码行数:12,代码来源:AbstractNearestNeighbourSearchTest.java

示例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!");
  }
}
 
开发者ID:umple,项目名称:umple,代码行数:13,代码来源:AbstractTokenizerTest.java

示例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!");
  }
}
 
开发者ID:umple,项目名称:umple,代码行数:13,代码来源:AbstractStopwordsTest.java


注:本文中的weka.core.SerializationHelper.needsUID方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。