Tabnine Logo
AbstractConfidence
Code IndexAdd Tabnine 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)

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 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();
    // 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

@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 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

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • startActivity (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Collectors (java.util.stream)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now