Java Zero Format zeroInterval(byte[] x, int start, int end)

Here you can find the source of zeroInterval(byte[] x, int start, int end)

Description

zero Interval

License

Open Source License

Declaration

static byte[] zeroInterval(byte[] x, int start, int end) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    static byte[] zeroInterval(byte[] x, int start, int end) {
        final byte[] result = x.clone();
        for (int i = start; i < end; i++)
            result[i] = (byte) 0;
        return result;
    }/*from www  . jav a 2 s.c o  m*/
}

Related

  1. zeroFormat(Integer source)
  2. zeroFormattedStr(int number, int length)
  3. zeroIfNull(Integer i)
  4. zeroIfNull(Integer i)
  5. zeroIfNullStrict(Integer i)
  6. zeroLowerBits(long bits, int nBits)
  7. zeroMatrix(int M, int N, double mat[][])
  8. zeroObjects()
  9. ZeroOneStringToBooleanArray(String data)