com.alachisoft.ncache.ncactivate.license.ByteRef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-activate Show documentation
Show all versions of nc-activate Show documentation
internal package of Alachisoft.
/*
* ByteRef.java
*
* Created on October 16, 2006, 11:47 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package com.alachisoft.ncache.ncactivate.license;
/**
* @author Administrator
*/
public class ByteRef {
/**
* Creates a new instance of ByteRef
*/
public byte[] data;
public ByteRef() {
}
public ByteRef(int nSize) {
data = new byte[nSize];
}
public boolean equals(ByteRef data2) {
if (data.length != data2.data.length) {
return false;
} else {
for (int i = 0; i < data.length; i++) {
if (data[i] != data2.data[i]) return false;
}
}
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy