Codota Logo
ExperimentListItem.getLargeScaleChunkSize
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ExperimentListItem
private void myMethod () {
ExperimentListItem e =
  • Codota IconObject[] array;String name;String parentFolders;Integer chunkNumber;Integer largeScaleSize;new ExperimentListItem(Arrays.asList(array), name, parentFolders, negative, chunkNumber, largeScaleSize)
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.util/data-conversion

public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli)
{
  Integer firstInteraction = null;
  Integer maxInteractions = null;
  // if there is pagination, get the first and the max result
  if (eli.getLargeScaleChunkSize() != null)
  {
    firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize();
    maxInteractions = eli.getLargeScaleChunkSize();
  }
  Collection<String> experimentLabels = eli.getExperimentLabels();
  return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao()
      .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]),
          firstInteraction, maxInteractions);
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli)
{
  Integer firstInteraction = null;
  Integer maxInteractions = null;
  // if there is pagination, get the first and the max result
  if (eli.getLargeScaleChunkSize() != null)
  {
    firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize();
    maxInteractions = eli.getLargeScaleChunkSize();
  }
  Collection<String> experimentLabels = eli.getExperimentLabels();
  return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao()
      .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]),
          firstInteraction, maxInteractions);
}
origin: uk.ac.ebi.intact.app/data-conversion

public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli)
{
  Integer firstInteraction = null;
  Integer maxInteractions = null;
  // if there is pagination, get the first and the max result
  if (eli.getLargeScaleChunkSize() != null)
  {
    firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize();
    maxInteractions = eli.getLargeScaleChunkSize();
  }
  Collection<String> experimentLabels = eli.getExperimentLabels();
  return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao()
      .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]),
          firstInteraction, maxInteractions);
}
uk.ac.ebi.intact.application.dataConversionExperimentListItemgetLargeScaleChunkSize

Popular methods of ExperimentListItem

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • startActivity (Activity)
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • String (java.lang)
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JFileChooser (javax.swing)
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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