本文整理匯總了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);