Tabnine Logo
ExperimentListItem.twoDigitNumber
Code IndexAdd Tabnine to your IDE (free)

How to use
twoDigitNumber
method
in
uk.ac.ebi.intact.application.dataConversion.ExperimentListItem

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.ExperimentListItem.twoDigitNumber (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public String getFilename()
{
  String strNegative = "";
  if (negative)
  {
    strNegative = "_negative";
  }
  String fileNumber = "";
  if (chunkNumber != null)
  {
    fileNumber = "-"+twoDigitNumber(chunkNumber);
  }
  String strLargeScale = "";
  if (largeScaleChunkSize != null)
  {
    if (experimentLabels.size() > 1)
    {
      throw new RuntimeException("On large scale items, only one experiment label is allowed");
    }
    strLargeScale = "_"+experimentLabels.iterator().next()+"_"+twoDigitNumber(chunkNumber);
    fileNumber = "";
  }
  return parentFolders + FileHelper.SLASH + name +
      strLargeScale + fileNumber + strNegative + FileHelper.XML_FILE_EXTENSION;
}
origin: uk.ac.ebi.intact.app/data-conversion

public String getFilename()
{
  String strNegative = "";
  if (negative)
  {
    strNegative = "_negative";
  }
  String fileNumber = "";
  if (chunkNumber != null)
  {
    fileNumber = "-"+twoDigitNumber(chunkNumber);
  }
  String strLargeScale = "";
  if (largeScaleChunkSize != null)
  {
    if (experimentLabels.size() > 1)
    {
      throw new RuntimeException("On large scale items, only one experiment label is allowed");
    }
    strLargeScale = "_"+experimentLabels.iterator().next()+"_"+twoDigitNumber(chunkNumber);
    fileNumber = "";
  }
  return parentFolders + FileHelper.SLASH + name +
      strLargeScale + fileNumber + strNegative + FileHelper.XML_FILE_EXTENSION;
}
origin: uk.ac.ebi.intact.util/data-conversion

public String getFilename()
{
  String strNegative = "";
  if (negative)
  {
    strNegative = "_negative";
  }
  String fileNumber = "";
  if (chunkNumber != null)
  {
    fileNumber = "-"+twoDigitNumber(chunkNumber);
  }
  String strLargeScale = "";
  if (largeScaleChunkSize != null)
  {
    if (experimentLabels.size() > 1)
    {
      throw new RuntimeException("On large scale items, only one experiment label is allowed");
    }
    strLargeScale = "_"+experimentLabels.iterator().next()+"_"+twoDigitNumber(chunkNumber);
    fileNumber = "";
  }
  return parentFolders + FileHelper.SLASH + name +
      strLargeScale + fileNumber + strNegative + FileHelper.XML_FILE_EXTENSION;
}
uk.ac.ebi.intact.application.dataConversionExperimentListItemtwoDigitNumber

Popular methods of ExperimentListItem

  • <init>
  • getChunkNumber
  • getExperimentLabels
  • getFilename
  • getInteractionRange
  • getLargeScaleChunkSize
  • getPattern
  • removeTrailingSlash

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • From CI to AI: The AI layer in your organization
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