本文整理汇总了Java中mesquite.lib.MesquiteProject类的典型用法代码示例。如果您正苦于以下问题:Java MesquiteProject类的具体用法?Java MesquiteProject怎么用?Java MesquiteProject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MesquiteProject类属于mesquite.lib包,在下文中一共展示了MesquiteProject类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isCompatible
import mesquite.lib.MesquiteProject; //导入依赖的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;
}
示例2: isCompatible
import mesquite.lib.MesquiteProject; //导入依赖的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));
}
示例3: canExportProject
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public boolean canExportProject(MesquiteProject project) {
return (project.getNumberCharMatricesVisible(DNAState.class) > 0) ;
}
示例4: canExportProject
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public boolean canExportProject(MesquiteProject project) {
return (project.getNumberCharMatrices( CategoricalState.class) - project.getNumberCharMatrices( MolecularState.class) > 0) ;
}
示例5: readFile
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public void readFile(MesquiteProject mf, MesquiteFile file, String arguments) {
}
示例6: canExportProject
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public boolean canExportProject(MesquiteProject project) {
return (project.getNumberCharMatricesVisible(CategoricalState.class) > 0) ;
}
示例7: canExportProject
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public boolean canExportProject(MesquiteProject project) {
return (project.getNumberCharMatricesVisible(ProteinState.class) > 0) ;
}
示例8: isCompatible
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public boolean isCompatible(Object obj, MesquiteProject project, EmployerEmployee prospectiveEmployer){
if (MesquiteTrunk.mesquiteTrunk.numModulesAvailable(DNADatabaseURLSource.class)<=0)
return false;
return true;
}
示例9: isCompatible
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public boolean isCompatible(Object obj, MesquiteProject project, EmployerEmployee prospectiveEmployer){
if (MesquiteTrunk.mesquiteTrunk.numModulesAvailable(AbiDownloader.class)<=0)
return false;
return true;
}
示例10: downloadAbiFilesFromDb
import mesquite.lib.MesquiteProject; //导入依赖的package包/类
public abstract boolean downloadAbiFilesFromDb( MesquiteProject project);