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


Java CompatibilityTest类代码示例

本文整理汇总了Java中mesquite.lib.CompatibilityTest的典型用法代码示例。如果您正苦于以下问题:Java CompatibilityTest类的具体用法?Java CompatibilityTest怎么用?Java CompatibilityTest使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


CompatibilityTest类属于mesquite.lib包,在下文中一共展示了CompatibilityTest类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: isCompatible

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
public boolean isCompatible(Object obj, MesquiteProject project, EmployerEmployee prospectiveEmployer){
	if (obj == null)
		return true;
	if (obj instanceof RequiresExactlyMeristicData)
		return true;
	if (obj instanceof CompatibilityTest)
		return false;
	if (!(obj instanceof Class))
		return true;
	if (!CharacterState.class.isAssignableFrom((Class)obj) &&  !CharacterData.class.isAssignableFrom((Class)obj))
		return true;
	return  (MeristicState.class == obj) || MeristicState.class == obj;
}
 
开发者ID:MesquiteProject,项目名称:MesquiteArchive,代码行数:14,代码来源:RequiresExactlyMeristicData.java

示例2: isCompatible

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
public boolean isCompatible(Object obj, MesquiteProject project, EmployerEmployee prospectiveEmployer){
	if (obj == null)
		return true;
	if (obj instanceof RequiresExactlyMeristicData)
		return true;
	if (obj instanceof CompatibilityTest)
		return false;

	if (!(obj instanceof Class))
		return true;
	if (!CharacterState.class.isAssignableFrom((Class)obj) && !CharacterData.class.isAssignableFrom((Class)obj))
		return true;
	return   (MeristicState.class.isAssignableFrom((Class)obj) || MeristicState.class.isAssignableFrom((Class)obj));
}
 
开发者ID:MesquiteProject,项目名称:MesquiteArchive,代码行数:15,代码来源:RequiresAnyMeristicData.java

示例3: getCompatibilityTest

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
/** Returns CompatibilityTest so other modules know if this is compatible with some object. */
public CompatibilityTest getCompatibilityTest(){
	return new RequiresAnyMeristicData();
}
 
开发者ID:MesquiteProject,项目名称:MesquiteArchive,代码行数:5,代码来源:MeristicDataAlterer.java

示例4: getCompatibilityTest

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
/** Returns CompatibilityTest so other modules know if this is compatible with some object. */
public CompatibilityTest getCompatibilityTest(){return new PIFD();}
 
开发者ID:MesquiteProject,项目名称:Chromaseq,代码行数:3,代码来源:PrimerInfoFromDatabase.java

示例5: getCompatibilityTest

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
/** Returns CompatibilityTest so other modules know if this is compatible with some object. */
public CompatibilityTest getCompatibilityTest(){return new AUI();}
 
开发者ID:MesquiteProject,项目名称:Chromaseq,代码行数:3,代码来源:AbiUploaderImpl.java

示例6: getCompatibilityTest

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
/** Returns CompatibilityTest so other modules know if this is compatible with some object. */
public CompatibilityTest getCompatibilityTest(){return new DAFD();}
 
开发者ID:MesquiteProject,项目名称:Chromaseq,代码行数:3,代码来源:DownloadAbiFromDb.java

示例7: getCompatibilityTest

import mesquite.lib.CompatibilityTest; //导入依赖的package包/类
public CompatibilityTest getCompatibilityTest(){
	return new RequiresAnyDNAData();
}
 
开发者ID:MesquiteProject,项目名称:Chromaseq,代码行数:4,代码来源:NumDoublePeaks.java


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