本文整理了Java中uk.ac.ebi.intact.model.Feature.removeRange()
方法的一些代码示例,展示了Feature.removeRange()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Feature.removeRange()
方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.Feature
类名称:Feature
方法名:removeRange
暂无
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
/**
* Adds a new Range object to a Feature instance. NOte that if the Range
* is already present then it will not be added again.
*
* @param range A new Range instance to add.
*/
public void addRange( Range range ) {
if ( !this.ranges.contains( range ) ) {
if (range.getFeature() != null && !this.equals(range.getFeature())) {
range.getFeature().removeRange(range);
}
this.ranges.add( range );
range.setFeature( this );
}
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
/**
* Adds a new Range object to a Feature instance. NOte that if the Range
* is already present then it will not be added again.
*
* @param range A new Range instance to add.
*/
public void addRange( Range range ) {
if ( !this.ranges.contains( range ) ) {
if (range.getFeature() != null && !this.equals(range.getFeature())) {
range.getFeature().removeRange(range);
}
this.ranges.add( range );
range.setFeature( this );
}
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
((Component) parent).removeParameter((ComponentParameter) child);
} else if (parent instanceof Feature && child instanceof Range) {
((Feature) parent).removeRange((Range) child);
} else if (child instanceof Xref) {
parent.removeXref((Xref) child);
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
((Component) parent).removeParameter((ComponentParameter) child);
} else if (parent instanceof Feature && child instanceof Range) {
((Feature) parent).removeRange((Range) child);
} else if (child instanceof Xref) {
parent.removeXref((Xref) child);
内容来源于网络,如有侵权,请联系作者删除!