Codota Logo
AbstractConfidence
Code IndexAdd Codota to your IDE (free)

How to use
AbstractConfidence
in
uk.ac.ebi.intact.model

Best Java code snippets using uk.ac.ebi.intact.model.AbstractConfidence (Showing top 11 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

  @Override
  public int hashCode() {
    int result = super.hashCode();
    // TODO check what to do to fix recursive appel
    //result = 31 * result + ( component != null ? component.hashCode() : 0 );
    return result;
  }
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

public boolean equals( Object o, boolean checkComponent ) {
   if ( this == o ) return true;
  if ( !( o instanceof AbstractConfidence ) ) return false;
  if (!super.equals(o)) {
    return false;
  }
  ComponentConfidence that = (ComponentConfidence) o;
  if (checkComponent){
    if ( component != null ? !component.equals( that.component, false ) : that.component != null ) return false;
  }
  return true;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

CvConfidenceType type1 = conf1.getCvConfidenceType();
CvConfidenceType type2 = conf2.getCvConfidenceType();
if (type1 != null && type2 == null){
  return false;
if (conf1.getValue() != null && conf2.getValue() == null){
  return false;
else if (conf1.getValue() == null && conf2.getValue() != null){
  return false;
else if (conf1.getValue() != null && conf2.getValue() != null && !conf1.getValue().equalsIgnoreCase(conf2.getValue())) {
  return false;
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

public T psiToIntact( psidev.psi.mi.xml.model.Confidence psiObject ) {
  String value = psiObject.getValue();
  T confidence = newConfidenceInstance(value);
  CvConfidenceType cvConfType = confidenceTyeConverter.psiToIntact( psiObject.getUnit());
  confidence.setCvConfidenceType( cvConfType);
  return confidence;
}
origin: uk.ac.ebi.intact.core/intact-core

public boolean equals( Object o, boolean checkComponent ) {
   if ( this == o ) return true;
  if ( !( o instanceof AbstractConfidence ) ) return false;
  if (!super.equals(o)) {
    return false;
  }
  ComponentConfidence that = (ComponentConfidence) o;
  if (checkComponent){
    if ( component != null ? !component.equals( that.component, false ) : that.component != null ) return false;
  }
  return true;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

public psidev.psi.mi.xml.model.Confidence intactToPsi( T intactObject ) {
  psidev.psi.mi.xml.model.Confidence confidence = new psidev.psi.mi.xml.model.Confidence();
  confidence.setValue( intactObject.getValue());
  Unit unit = confidenceTyeConverter.intactToPsi(intactObject.getCvConfidenceType());
  confidence.setUnit(unit);
  return confidence;
}
origin: uk.ac.ebi.intact.core/intact-core

  @Override
  public int hashCode() {
    int result = super.hashCode();
    // TODO check what to do to fix recursive appel
    //result = 31 * result + ( component != null ? component.hashCode() : 0 );
    return result;
  }
}
origin: uk.ac.ebi.intact.core/intact-core

@Override
public boolean equals( Object o ) {
   if ( this == o ) return true;
  if ( !( o instanceof AbstractConfidence ) ) return false;
  if (!super.equals(o)) {
    return false;
  }
  Confidence that = ( Confidence ) o;
  if ( interaction != null ? !interaction.equals( that.interaction, false ) : that.interaction != null ) return false;
  return true;
}
origin: uk.ac.ebi.intact.core/intact-core

  @Override
  public int hashCode() {
    int result = super.hashCode();
    result = 31 * result + ( interaction != null ? interaction.hashCode() : 0 );
    return result;
  }
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

@Override
public boolean equals( Object o ) {
   if ( this == o ) return true;
  if ( !( o instanceof AbstractConfidence ) ) return false;
  if (!super.equals(o)) {
    return false;
  }
  Confidence that = ( Confidence ) o;
  if ( interaction != null ? !interaction.equals( that.interaction, false ) : that.interaction != null ) return false;
  return true;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

  @Override
  public int hashCode() {
    int result = super.hashCode();
    result = 31 * result + ( interaction != null ? interaction.hashCode() : 0 );
    return result;
  }
}
uk.ac.ebi.intact.modelAbstractConfidence

Most used methods

  • equals
  • hashCode
  • getCvConfidenceType
  • getValue
  • setCvConfidenceType

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • putExtra (Intent)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now