Java Zero Format zeroBasedTemplateStart(final int[] actions)

Here you can find the source of zeroBasedTemplateStart(final int[] actions)

Description

Zero-based start position on template.

License

Open Source License

Parameter

Parameter Description
actions actions array

Return

start position

Declaration

public static int zeroBasedTemplateStart(final int[] actions) 

Method Source Code

//package com.java2s;
/*/*from   w  w w .j  a  v  a 2 s .  c  om*/
 * Copyright (c) 2014. Real Time Genomics Limited.
 *
 * Use of this source code is bound by the Real Time Genomics Limited Software Licence Agreement
 * for Academic Non-commercial Research Purposes only.
 *
 * If you did not receive a license accompanying this file, a copy must first be obtained by email
 * from support@realtimegenomics.com.  On downloading, using and/or continuing to use this source
 * code you accept the terms of that license agreement and any amendments to those terms that may
 * be made from time to time by Real Time Genomics Limited.
 */

public class Main {
    /** Array position of template start (which is zero based). */
    public static final int TEMPLATE_START_INDEX = 0;

    /**
     * Zero-based start position on template.
     * @param actions actions array
     * @return start position
     */
    public static int zeroBasedTemplateStart(final int[] actions) {
        return actions[TEMPLATE_START_INDEX];
    }
}

Related

  1. zero(double[] zero)
  2. zero(int bits)
  3. zero(int x)
  4. zero_pad(byte[] original, int block_size)
  5. zeroAlign(String x, int count)
  6. zeroBlock(byte[] block, int off, int len)
  7. zeroConvert(String src)
  8. zerocount(int v)
  9. zeroCount(long n)