uk.ac.ebi.intact.model.Feature.getAc()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(6.1k)|赞(0)|评价(0)|浏览(187)

本文整理了Java中uk.ac.ebi.intact.model.Feature.getAc()方法的一些代码示例,展示了Feature.getAc()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Feature.getAc()方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.Feature
类名称:Feature
方法名:getAc

Feature.getAc介绍

暂无

代码示例

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

public String toString() {
    return "InferredInteraction{" +
        "feature1=" + feature1.getAc() +
        ", feature2=" + feature2.getAc() +
        "}";
  }
}

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public String toString() {
    return "InferredInteraction{" +
        "feature1=" + feature1.getAc() +
        ", feature2=" + feature2.getAc() +
        "}";
  }
}

代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion

public String toString() {
    return "InferredInteraction{" +
        "feature1=" + feature1.getAc() +
        ", feature2=" + feature2.getAc() +
        "}";
  }
}

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

public String toString() {
    return "InferredInteraction{" +
        "feature1=" + feature1.getAc() +
        ", feature2=" + feature2.getAc() +
        "}";
  }
}

代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion

public String toString() {
    return "InferredInteraction{" +
        "feature1=" + feature1.getAc() +
        ", feature2=" + feature2.getAc() +
        "}";
  }
}

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public String toString() {
    return "InferredInteraction{" +
        "feature1=" + feature1.getAc() +
        ", feature2=" + feature2.getAc() +
        "}";
  }
}

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core

@Override
public int hashCode() {
  int result = fromIntervalStart;
  result = 31 * result + fromIntervalEnd;
  result = 31 * result + toIntervalStart;
  result = 31 * result + toIntervalEnd;
  result = 31 * result + ( undetermined ? 1 : 0 );
  result = 31 * result + ( linked ? 1 : 0 );
  result = 31 * result + ( fromCvFuzzyType != null ? fromCvFuzzyType.hashCode() : 0 );
  result = 31 * result + ( toCvFuzzyType != null ? toCvFuzzyType.hashCode() : 0 );
  result = 31 * result + ( sequence != null ? sequence.hashCode() : 0 );
  result = 31 * result + ( fullSequence != null ? fullSequence.hashCode() : 0 );
  result = 31 * result + ( upStreamSequence != null ? upStreamSequence.hashCode() : 0 );
  result = 31 * result + ( downStreamSequence != null ? downStreamSequence.hashCode() : 0 );
  // Include the feature this range is linked to.
  result = 31 * result + ( feature != null ? feature.getAc() != null? feature.getAc().hashCode() : feature.hashCode( true, false ) : 0 );
  return result;
}

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly

@Override
public int hashCode() {
  int result = fromIntervalStart;
  result = 31 * result + fromIntervalEnd;
  result = 31 * result + toIntervalStart;
  result = 31 * result + toIntervalEnd;
  result = 31 * result + ( undetermined ? 1 : 0 );
  result = 31 * result + ( linked ? 1 : 0 );
  result = 31 * result + ( fromCvFuzzyType != null ? fromCvFuzzyType.hashCode() : 0 );
  result = 31 * result + ( toCvFuzzyType != null ? toCvFuzzyType.hashCode() : 0 );
  result = 31 * result + ( sequence != null ? sequence.hashCode() : 0 );
  result = 31 * result + ( fullSequence != null ? fullSequence.hashCode() : 0 );
  result = 31 * result + ( upStreamSequence != null ? upStreamSequence.hashCode() : 0 );
  result = 31 * result + ( downStreamSequence != null ? downStreamSequence.hashCode() : 0 );
  // Include the feature this range is linked to.
  result = 31 * result + ( feature != null ? feature.getAc() != null? feature.getAc().hashCode() : feature.hashCode( true, false ) : 0 );
  return result;
}

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core

} else if (feature.getAc() != null && range.feature.getAc() != null) {
  if (!feature.getAc().equals(range.feature.getAc())) {
    return false;

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly

} else if (feature.getAc() != null && range.feature.getAc() != null) {
  if (!feature.getAc().equals(range.feature.getAc())) {
    return false;

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

CvObject2xmlFactory.getInstance( session ).create( session, element, feature.getCvFeatureType() );
} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion

} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.app/data-conversion

} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.util/data-conversion

} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

} else {
  System.err.println( "There should be a CvFeatureType in that Feature( " + feature.getAc() + " )." );

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core

/**
 * Retrieves the ranges from a feature, initializing them if necessary.
 *
 * @param feature the feature
 * @return The returned ranges are ensured to be initialized
 * @since 2.4.0
 */
public static Collection<Range> ensureInitializedRanges(Feature feature) {
  Collection<Range> ranges;
  if (IntactCore.isInitialized(feature.getRanges())) {
    ranges = feature.getRanges();
  } else {
    ranges = IntactContext.getCurrentInstance().getDaoFactory().getRangeDao().getByFeatureAc(feature.getAc());
  }
  return ranges;
}

代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Retrieves the ranges from a feature, initializing them if necessary.
 *
 * @param feature the feature
 * @return The returned ranges are ensured to be initialized
 * @since 2.4.0
 */
public static Collection<Range> ensureInitializedRanges(Feature feature) {
  Collection<Range> ranges;
  if (IntactCore.isInitialized(feature.getRanges())) {
    ranges = feature.getRanges();
  } else {
    ranges = IntactContext.getCurrentInstance().getDaoFactory().getRangeDao().getByFeatureAc(feature.getAc());
  }
  return ranges;
}

代码示例来源:origin: uk.ac.ebi.intact.dbupdate/protein-mapping

report.addWarning("The feature " + range.getFeature().getAc() + " doesn't contain any sequence or full sequence but has range positions. This entry needs to ce checked by a curator");
return false;

相关文章